Skip to content

Commit

Permalink
Revert release workflow to use firebase-action
Browse files Browse the repository at this point in the history
  • Loading branch information
JordanLongstaff committed Mar 7, 2025
1 parent 29a401c commit a53a73b
Showing 1 changed file with 9 additions and 7 deletions.
16 changes: 9 additions & 7 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -93,23 +93,23 @@ jobs:
echo "${{ vars.CHANGELOG }}" > fastlane/metadata/android/en-US/changelogs/default.txt
- name: Authenticate for Firebase
id: auth
if: ${{ inputs.securityRequiredUpdate || inputs.artemisRequiredUpdate || inputs.artemisSoftUpdate }}
uses: google-github-actions/auth@v2
with:
workload_identity_provider: projects/${{ secrets.WIF_PROJECT_ID }}/locations/global/workloadIdentityPools/${{ secrets.WIF_POOL }}/providers/${{ secrets.WIF_PROVIDER }}
service_account: ${{ secrets.FIREBASE_SA_USER }}@${{ secrets.FIREBASE_SA_PROJECT }}.iam.gserviceaccount.com

- name: Setup Firebase
- name: Set Firebase Project
if: ${{ inputs.securityRequiredUpdate || inputs.artemisRequiredUpdate || inputs.artemisSoftUpdate }}
uses: w9jds/setup-firebase@main
uses: w9jds/firebase[email protected]
with:
project_id: ${{ secrets.FIREBASE_SA_PROJECT }}
gcp_sa_key: ${{ steps.auth.outputs.credentials_file_path }}
args: use ${{ secrets.FIREBASE_SA_PROJECT }}

- name: Get Firebase Remote Config
if: ${{ inputs.securityRequiredUpdate || inputs.artemisRequiredUpdate || inputs.artemisSoftUpdate }}
run: firebase remoteconfig:get -o app/remote-config.json
uses: w9jds/[email protected]
with:
args: remoteconfig:get -o app/remote-config.json

- name: Update Artemis Version Parameter
if: ${{ inputs.artemisSoftUpdate }}
Expand Down Expand Up @@ -137,7 +137,9 @@ jobs:

- name: Publish Firebase Remote Config
if: ${{ inputs.securityRequiredUpdate || inputs.artemisRequiredUpdate || inputs.artemisSoftUpdate }}
run: firebase deploy --only remoteconfig
uses: w9jds/[email protected]
with:
args: deploy --only remoteconfig

- name: Bundle and Upload
run: bundle exec fastlane android deploy version:${{ inputs.versionName }}
Expand Down

0 comments on commit a53a73b

Please sign in to comment.