Skip to content

Commit

Permalink
change step order
Browse files Browse the repository at this point in the history
  • Loading branch information
bwees committed Aug 28, 2024
1 parent 52d4e7f commit c41edb1
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,11 @@ jobs:
- name: Install Dependencies
run: npm install

- name: Write Google Maps API Key to app.json
run: sed -i "s/{{GOOGLE_MAPS_KEY}}/$GOOGLE_MAPS_KEY/g" app.json
env:
GOOGLE_MAPS_KEY: ${{ secrets.GOOGLE_MAPS_KEY }}

- name: Expo Prebuild [Android]
run: |
Expand All @@ -136,11 +141,6 @@ jobs:
# # Add the new release signing configuration to signingConfigs
# sed -i '/signingConfigs {/a\ release {\n keyAlias System.getenv("KEY_ALIAS")\n keyPassword System.getenv("KEY_PASSWORD")\n storeFile file("maroon-rides-release-key.jks")\n storePassword System.getenv("STORE_PASSWORD")\n }' android/app/build.gradle
- name: Write Google Maps API Key to app.json
run: sed -i "s/{{GOOGLE_MAPS_KEY}}/$GOOGLE_MAPS_KEY/g" app.json
env:
GOOGLE_MAPS_KEY: ${{ secrets.GOOGLE_MAPS_KEY }}

- name: Decode Keystore
run: |
echo "${{ secrets.AAB_SIGNING_KEY }}" | base64 --decode > "./android/app/maroon-rides-release-key.jks"
Expand Down

0 comments on commit c41edb1

Please sign in to comment.