From 4f14eedef57dbc04c5c4090acb90bbf1f5a4a8da Mon Sep 17 00:00:00 2001 From: lifegpc Date: Fri, 8 Sep 2023 10:03:04 +0800 Subject: [PATCH] Create windows.yml --- .github/workflows/windows.yml | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 .github/workflows/windows.yml diff --git a/.github/workflows/windows.yml b/.github/workflows/windows.yml new file mode 100644 index 0000000..04f9850 --- /dev/null +++ b/.github/workflows/windows.yml @@ -0,0 +1,23 @@ +name: Windows build +on: + push: + branches: [master] +jobs: + windows: + runs-on: windows-latest + steps: + - name: Check Out + uses: actions/checkout@v3 + - name: Setup flutter + uses: subosito/flutter-action@v2 + with: + channel: stable + - name: Build + run: flutter build windows --release + - name: Package files + run: cd build/windows/runner/Release && 7z a -mx9 -y ../../../../windows.7z + - name: Upload files + uses: actions/upload-artifact@v3 + with: + name: windows + path: ./windows.7z