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