diff --git a/.github/actions/build_android/action.yml b/.github/actions/build_android/action.yml index 45979c54..37d9d51e 100644 --- a/.github/actions/build_android/action.yml +++ b/.github/actions/build_android/action.yml @@ -47,7 +47,7 @@ runs: env: ANDROID_KEY_JKS: ${{ inputs.android-key-jks }} - name: Build APK - if: ${{ inputs.build-mode }} == 'apk' + if: inputs.build-mode == 'apk' shell: bash run: flutter build apk --split-debug-info=./symbols --build-number="$BUILD_NUMBER" --build-name="$VERSION" --dart-define=SENTRY_DSN="$SENTRY_DSN" --dart-define=cronetHttpNoPlay=true env: @@ -59,7 +59,7 @@ runs: SENTRY_DSN: ${{ inputs.sentry-dsn }} #SENTRY_URL: ${{ inputs.sentry-url }} - name: Build AppBundle - if: ${{ inputs.build-mode }} == 'bundle' + if: inputs.build-mode == 'bundle' shell: bash run: flutter build appbundle --split-debug-info=./symbols --build-number="$BUILD_NUMBER" --build-name="$VERSION" --dart-define=SENTRY_DSN="$SENTRY_DSN" env: @@ -76,7 +76,7 @@ runs: run: cd android && ./gradlew app:dependencies --configuration releaseCompileClasspath - uses: actions/upload-artifact@v4 continue-on-error: true - if: runner.os == 'Linux' && ${{ inputs.build-mode }} == 'apk' + if: runner.os == 'Linux' && inputs.build-mode == 'apk' with: name: artifact-${{ runner.os }} path: build/app/outputs/apk diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 6bd7d2be..1c750a1b 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -53,7 +53,7 @@ jobs: build-mode: ${{ matrix.build }} #sentry-url: ${{ secrets.SENTRY_URL }} - name: Build IOS / Upload Beta - if: github.event_name == 'push' && ${{ matrix.build }} != 'apk' + if: github.event_name == 'push' && matrix.build != 'apk' run: bash ${GITHUB_WORKSPACE}/Scripts/fastlane.sh working-directory: Scripts continue-on-error: false