Skip to content

Commit

Permalink
Fix: Workflow: Added Github Secrets
Browse files Browse the repository at this point in the history
  • Loading branch information
donald-okara committed Nov 17, 2024
1 parent 9c2ae0e commit c85330b
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions .github/workflows/generate-apk-aab-debug-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,9 +44,13 @@ jobs:

- name: Load secrets xml file
env:
DATA: ${{ secrets.SECRETS_XML}}
DATA: ${{ secrets.SECRETS_XML }}
run: echo $DATA | base64 -di > app/src/main/res/values/secrets.xml

# Decode the preface-key.jks file from base64
- name: Decode preface-key.jks from base64 and save to keystore
run: echo ${{ secrets.KEY_JKS }} | base64 -di > preface-key.jks

- name: Change wrapper permissions
run: chmod +x ./gradlew

Expand Down Expand Up @@ -88,6 +92,3 @@ jobs:
with:
name: ${{ env.date_today }} - ${{ env.app_name }} - ${{ env.repository_name }} - App bundle(s) AAB release generated
path: ${{ env.main_project_module }}/build/outputs/bundle/release/


# You can now reference API_KEY, CLIENT_ID, and google-services.json locally in your app or build process

0 comments on commit c85330b

Please sign in to comment.