From 48629f5fa0b959c9c66bf5fea6badd8540ddd23e Mon Sep 17 00:00:00 2001 From: Code-Floof Date: Fri, 22 Nov 2024 23:51:10 -0500 Subject: [PATCH 1/2] Update action.yml --- .github/actions/build_android/action.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/actions/build_android/action.yml b/.github/actions/build_android/action.yml index babe23cd..46cb1430 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 --obfuscate --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 --obfuscate --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 From 8ed8845b7b901535bca794d709efa6d58cda46b0 Mon Sep 17 00:00:00 2001 From: Code-Floof Date: Sat, 23 Nov 2024 22:47:29 -0500 Subject: [PATCH 2/2] Update build.yml --- .github/workflows/build.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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