diff --git a/.github/workflows/build_windows.yml b/.github/workflows/build_windows.yml new file mode 100644 index 00000000..8193bb5a --- /dev/null +++ b/.github/workflows/build_windows.yml @@ -0,0 +1,33 @@ +name: Build Windows + +on: + push: + branches: [ "main" ] + pull_request: + branches: [ "main" ] + +jobs: + build: + runs-on: windows-latest + + steps: + - uses: actions/checkout@v4 + + - uses: subosito/flutter-action@v2 + with: + channel: 'stable' + + - name: Enable Windows Desktop + run: flutter config --enable-windows-desktop + + - name: Install dependencies + run: flutter pub get + + - name: Build Windows + run: flutter build windows --release + + - name: Upload Artifact + uses: actions/upload-artifact@v4 + with: + name: windows-release + path: build/windows/x64/runner/Release/ \ No newline at end of file