diff --git a/.github/workflows/publish-to-play-store-beta.yml b/.github/workflows/publish-to-play-store-beta.yml index 60bf39f..eca41df 100644 --- a/.github/workflows/publish-to-play-store-beta.yml +++ b/.github/workflows/publish-to-play-store-beta.yml @@ -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 diff --git a/.github/workflows/publish-to-play-store.yml b/.github/workflows/publish-to-play-store.yml index d36beee..ce8e2db 100644 --- a/.github/workflows/publish-to-play-store.yml +++ b/.github/workflows/publish-to-play-store.yml @@ -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