Add Linux artifact generation and upload

This commit is contained in:
2023-11-26 15:35:06 +08:00
parent 1f9ffc93d1
commit 424e2f81b7
2 changed files with 8 additions and 0 deletions

View File

@@ -29,3 +29,10 @@ jobs:
run: sudo apt-get update && sudo apt-get install -y libgtk-3-dev liblzma-dev libstdc++-12-dev ninja-build
- name: Build
run: flutter build linux --release
- name: Package files
run: cd build/linux/x64/release/bundle && 7z a -mx9 -y ../../../../../linux.7z
- name: Upload files
uses: actions/upload-artifact@v3
with:
name: linux
path: ./linux.7z

View File

@@ -1,5 +1,6 @@
# eh_downloader_flutter
[![Android Build](https://github.com/lifegpc/eh_downloader_flutter/actions/workflows/android.yml/badge.svg)](https://github.com/lifegpc/eh_downloader_flutter/actions/workflows/android.yml)
[![Linux Build](https://github.com/lifegpc/eh_downloader_flutter/actions/workflows/linux.yml/badge.svg)](https://github.com/lifegpc/eh_downloader_flutter/actions/workflows/linux.yml)
[![Web](https://github.com/lifegpc/eh_downloader_flutter/actions/workflows/web.yml/badge.svg)](https://github.com/lifegpc/eh_downloader_flutter/actions/workflows/web.yml)
[![Windows build](https://github.com/lifegpc/eh_downloader_flutter/actions/workflows/windows.yml/badge.svg)](https://github.com/lifegpc/eh_downloader_flutter/actions/workflows/windows.yml)