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`.
This commit is contained in:
Jamil
2024-12-30 08:36:10 -08:00
committed by GitHub
parent b09f3f0a3f
commit 322634b160

View File

@@ -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