From 94d40d2416093ba570a7d0508887131b56adf012 Mon Sep 17 00:00:00 2001 From: Henry-Hiles Date: Tue, 6 Jan 2026 19:52:02 -0500 Subject: [PATCH] add workflow --- .github/workflows/main.yml | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 .github/workflows/main.yml diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml new file mode 100644 index 0000000..6f5b41c --- /dev/null +++ b/.github/workflows/main.yml @@ -0,0 +1,33 @@ +name: "Build Windows EXE" + +on: + workflow_dispatch: + +jobs: + build-windows: + runs-on: "windows-latest" + + steps: + - name: "Checkout repository" + uses: "actions/checkout@v4" + + - name: "Set up Flutter" + uses: "subosito/flutter-action@v2" + + - name: "Set up Rust" + uses: "dtolnay/rust-toolchain@stable" + with: + targets: "x86_64-pc-windows-msvc" + + - name: "Install Flutter dependencies" + run: "flutter pub get" + + - name: "Build Windows EXE" + run: | + flutter build windows --release + + - name: "Upload Windows build" + uses: "actions/upload-artifact@v4" + with: + name: "windows-exe" + path: "build/windows/x64/runner/Release/" \ No newline at end of file