From d35e1e4029f42d7da2900a1f97a5f50bc0071f97 Mon Sep 17 00:00:00 2001 From: Scriptbash <98601298+Scriptbash@users.noreply.github.com> Date: Mon, 29 Dec 2025 10:11:47 -0500 Subject: [PATCH 1/2] add macos and windows to build action --- .github/workflows/build.yml | 45 +++++++++++++++++++++++++++++++++++-- 1 file changed, 43 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index d60060c..79f6c72 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -35,8 +35,9 @@ jobs: - run: flutter build apk --debug - uses: actions/upload-artifact@v6 with: - name: release-apk + name: android-debug-apk path: build/app/outputs/apk/debug/app-debug.apk + build-ios: name: Build for iOS runs-on: macos-15 @@ -50,4 +51,44 @@ jobs: channel: 'stable' architecture: x64 - run: flutter pub get - - run: flutter build ios --release --no-codesign + - run: flutter build ios --debug --no-codesign + - uses: actions/upload-artifact@v6 + with: + name: ios-debug-app + path: build/ios/iphoneos/*.app + + build-macos: + name: Build for macOS + runs-on: macos-15 + steps: + - uses: actions/checkout@v6 + - uses: maxim-lobanov/setup-xcode@v1 + with: + xcode-version: latest-stable + - uses: subosito/flutter-action@v2 + with: + channel: 'stable' + architecture: x64 + - run: flutter pub get + - run: flutter build macos --debug + - uses: actions/upload-artifact@v6 + with: + name: macos-debug-app + path: build/macos/Build/Products/Debug/*.app + + build-windows: + name: Build for Windows + runs-on: windows-latest + steps: + - uses: actions/checkout@v6 + - uses: subosito/flutter-action@v2 + with: + channel: 'stable' + - run: flutter pub get + - run: flutter build windows --debug + - uses: actions/upload-artifact@v6 + with: + name: windows-debug + path: build/windows/x64/runner/Debug/ + + \ No newline at end of file From 2ebeaf2a72f03c0fd38a3fb35ede361d1377f4cc Mon Sep 17 00:00:00 2001 From: Scriptbash <98601298+Scriptbash@users.noreply.github.com> Date: Mon, 29 Dec 2025 10:24:55 -0500 Subject: [PATCH 2/2] remove macos flutter architecture --- .github/workflows/build.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 79f6c72..4dfec79 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -68,7 +68,6 @@ jobs: - uses: subosito/flutter-action@v2 with: channel: 'stable' - architecture: x64 - run: flutter pub get - run: flutter build macos --debug - uses: actions/upload-artifact@v6