From b97c7cde25e774b6f89edfef48d4131d436d5e45 Mon Sep 17 00:00:00 2001 From: nyne Date: Wed, 12 Jun 2024 21:58:26 +0800 Subject: [PATCH] add linux workflow --- .github/workflows/linux.yml | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 .github/workflows/linux.yml diff --git a/.github/workflows/linux.yml b/.github/workflows/linux.yml new file mode 100644 index 0000000..4196bd2 --- /dev/null +++ b/.github/workflows/linux.yml @@ -0,0 +1,23 @@ +name: Build Linux +run-name: Build Linux +on: + workflow_dispatch: {} +jobs: + Build_Deb: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - uses: subosito/flutter-action@v2 + with: + channel: 'stable' + architecture: x64 + - run: | + sudo apt-get update -y + sudo apt-get install -y ninja-build libgtk-3-dev + dart pub global activate flutter_to_debian + - run: python3 debian/build.py + - uses: actions/upload-artifact@v3 + with: + name: deb_build + path: build/linux/x64/release/debian + \ No newline at end of file