🔨 Build linux workflow

This commit is contained in:
LittleSheep 2024-07-17 11:20:18 +08:00
parent ca72a44a86
commit e068c72b69

View File

@ -60,3 +60,21 @@ jobs:
with:
name: build-output-windows
path: build/windows/x64/runner/Release
build-linux:
runs-on: ubuntu-latest
steps:
- name: Clone repository
uses: actions/checkout@v4
- name: Set up Flutter
uses: subosito/flutter-action@v2
with:
channel: stable
- run: |
sudo apt-get update -y
sudo apt-get install -y ninja-build libgtk-3-dev libsqlite3-0 libsqlite3-dev
- run: flutter build linux
- name: Archive production artifacts
uses: actions/upload-artifact@v4
with:
name: build-output-windows
path: build/linux/x64/release/bundle