From 322634b16094e01f7c4d312b702550757efbaaef Mon Sep 17 00:00:00 2001 From: Jamil Date: Mon, 30 Dec 2024 08:36:10 -0800 Subject: [PATCH] ci: Push to Firebase on merge to main (#7595) Updates the Android workflow to match the new Swift workflow behavior to push release builds on merges to `main`. --- .github/workflows/_kotlin.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/_kotlin.yml b/.github/workflows/_kotlin.yml index e93c529c9..5f4f79295 100644 --- a/.github/workflows/_kotlin.yml +++ b/.github/workflows/_kotlin.yml @@ -49,7 +49,7 @@ jobs: path: | ./kotlin/android/app/build/outputs/bundle/* - name: Upload release - if: ${{ github.event_name == 'workflow_dispatch' || (github.ref == 'refs/heads/main' && contains(github.event.head_commit.modified, 'elixir/VERSION')) }} + if: ${{ github.event_name == 'workflow_dispatch' || github.ref_name == 'main' }} env: FIREBASE_APP_DISTRIBUTION_CREDENTIALS: ${{ secrets.FIREBASE_APP_DISTRIBUTION_CREDENTIALS }} FIREBASE_CREDENTIALS_PATH: firebase-credentials.json