Skip to content

Commit

Permalink
Export and use Firebase service account as file
Browse files Browse the repository at this point in the history
  • Loading branch information
vgaidarji committed Mar 15, 2024
1 parent 42bc3b8 commit 58052d4
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,9 @@ jobs:
- name: Check
run: "./gradlew testDebug jacocoTestReport lintDebug buildDashboard"
- name: Distribute
env:
FIREBASE_APP_DISTRIBUTION_SERVICE_ACCOUNT_JSON: ${{ secrets.FIREBASE_APP_DISTRIBUTION_SERVICE_ACCOUNT_JSON_B64 }}
run: "./gradlew appDistributionUploadDebug"
run: |
echo '${{ secrets.FIREBASE_APP_DISTRIBUTION_SERVICE_ACCOUNT_JSON }}' > $RUNNER_TEMP/credentials.json
export $FIREBASE_APP_DISTRIBUTION_SERVICE_ACCOUNT_JSON=$RUNNER_TEMP/credentials.json && ./gradlew appDistributionUploadDebug
- name: Publish Code Coverage
env:
COVERALLS_REPO_TOKEN: ${{ secrets.COVERALLS_REPO_TOKEN }}
Expand Down

0 comments on commit 58052d4

Please sign in to comment.