From e068c72b69c3ef3e50a17a72869ea2cea47632f2 Mon Sep 17 00:00:00 2001 From: LittleSheep Date: Wed, 17 Jul 2024 11:20:18 +0800 Subject: [PATCH] :hammer: Build linux workflow --- .github/workflows/nightly.yml | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/.github/workflows/nightly.yml b/.github/workflows/nightly.yml index 499a0b9..9f1821d 100644 --- a/.github/workflows/nightly.yml +++ b/.github/workflows/nightly.yml @@ -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 \ No newline at end of file