diff --git a/.github/workflows/build_apk.yml b/.github/workflows/build_apk.yml index 4638275..3ea2ed2 100644 --- a/.github/workflows/build_apk.yml +++ b/.github/workflows/build_apk.yml @@ -85,12 +85,6 @@ jobs: if: ${{ !inputs.include-iap }} run: bash ./.github/scripts/stub_iap.sh - - name: Install Flutter - uses: subosito/flutter-action@v2 - with: - channel: "stable" - flutter-version: "3.10.0" - - uses: actions/setup-java@v3 with: distribution: "zulu" @@ -115,6 +109,12 @@ jobs: - name: Increment build number & replace version number run: bash ./.github/scripts/increment_build_number.sh ${{ github.event.inputs.version }} + - name: Install Flutter + uses: subosito/flutter-action@v2 + with: + channel: "stable" + flutter-version: "3.10.0" + - name: Prepare flutter project run: | flutter --version diff --git a/.github/workflows/build_ipa.yml b/.github/workflows/build_ipa.yml index 5fbe8f8..b14e85a 100644 --- a/.github/workflows/build_ipa.yml +++ b/.github/workflows/build_ipa.yml @@ -101,6 +101,9 @@ jobs: CONSTANTS: ${{inputs.stage-backend && secrets.CONSTANTS_STAGE || secrets.CONSTANTS }} run: bash .github/scripts/restore_from_base64.sh "${{ env.CONSTANTS }}" "lib/constants.dart" + - name: Increment build number & replace version number + run: bash ./.github/scripts/increment_build_number.sh ${{ github.event.inputs.version }} + - name: Install Flutter uses: subosito/flutter-action@v2 with: