diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 11deb79b6..cdc8afb9f 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -190,7 +190,8 @@ jobs: APP_VERSION=$(grep '^version:' pubspec.yaml | sed 's/version: //') echo "APP_VERSION=$APP_VERSION" >> $GITHUB_ENV - - name: Build Flutter app + - name: Build Flutter app (Windows) + if: matrix.platform == 'windows' run: | New-Item -Path "./dist/${{ env.APP_VERSION }}" -ItemType Directory -Force flutter_distributor package --platform windows --targets exe --skip-clean @@ -199,6 +200,14 @@ jobs: SENTRY_AUTH_TOKEN: "${{ secrets.SENTRY_AUTH_TOKEN }}" VERSION: "${{ env.version }}" + - name: Build Flutter app + if: matrix.platform != 'windows' + run: make package-${{ matrix.platform }} + env: + INTERSTITIAL_AD_UNIT: "${{ secrets.INTERSTITIAL_AD_UNIT_ID }}" + SENTRY_AUTH_TOKEN: "${{ secrets.SENTRY_AUTH_TOKEN }}" + VERSION: "${{ env.version }}" + - name: Install darwin installer dependencies if: matrix.platform == 'macos' run: |