Skip to content

Commit

Permalink
Merge pull request #157 from cuappdev/justin/playstore-publish
Browse files Browse the repository at this point in the history
Replace service file with base64 encoded
  • Loading branch information
thisjustin123 authored Oct 3, 2024
2 parents 91a6ad8 + 1e26718 commit 45d23b7
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/publish-to-play-store-beta.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,10 @@ jobs:
run: |
echo "${{ secrets.SECRETS_PROPERTIES }}" > secrets.properties
- name: Create google-services.json
run: echo "${{ secrets.GOOGLE_SERVICES_JSON }}" > app/google-services.json
- name: Load Google Service file
env:
DATA: ${{ secrets.GOOGLE_SERVICES_JSON }}
run: echo $DATA | base64 -di > app/google-services.json

- name: Build with Gradle
id: build
Expand Down
6 changes: 4 additions & 2 deletions .github/workflows/publish-to-play-store.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,10 @@ jobs:
run: |
echo "${{ secrets.SECRETS_PROPERTIES }}" > secrets.properties
- name: Create google-services.json
run: echo "${{ secrets.GOOGLE_SERVICES_JSON }}" > app/google-services.json
- name: Load Google Service file
env:
DATA: ${{ secrets.GOOGLE_SERVICES_JSON }}
run: echo $DATA | base64 -di > app/google-services.json

- name: Build with Gradle
id: build
Expand Down

0 comments on commit 45d23b7

Please sign in to comment.