Skip to content

Commit

Permalink
[63] Adding Maps API key to secrets
Browse files Browse the repository at this point in the history
  • Loading branch information
TiagoDvl committed Sep 17, 2023
1 parent d561c19 commit 3d39f02
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/build_artifact_and_release_firebase.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,11 @@ jobs:
distribution: 'temurin'
java-version: '17'
cache: 'gradle'

- name: Update Secrets
env:
MAPS_API_KEY: ${{ secrets.MAPS_API_KEY }}
run: echo 'MAPS_API_KEY=${{ secrets.MAPS_API_KEY }}' > ./local.properties

- name: Build the Release AAB
run: ./gradlew bundleRelease
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/pull_request_unit_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,5 +17,9 @@ jobs:
java-version: '17'
cache: 'gradle'

- name: Update Secrets
env:
MAPS_API_KEY: ${{ secrets.MAPS_API_KEY }}
run: echo 'MAPS_API_KEY=${{ secrets.MAPS_API_KEY }}' > ./local.properties
- name: Unit tests
run: ./gradlew testQa

0 comments on commit 3d39f02

Please sign in to comment.