-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Revert release workflow to use firebase-action
- Loading branch information
1 parent
29a401c
commit a53a73b
Showing
1 changed file
with
9 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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 }} | ||
|
@@ -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 }} | ||
|