mirror of
https://github.com/lifegpc/eh_downloader_flutter.git
synced 2026-06-10 15:59:25 +08:00
Add Linux artifact generation and upload
This commit is contained in:
7
.github/workflows/linux.yml
vendored
7
.github/workflows/linux.yml
vendored
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user