From bd787b74001987d0bb64a87f12a332be365dcb20 Mon Sep 17 00:00:00 2001 From: Augsorn Chanklad Date: Sat, 9 Dec 2023 18:45:06 +0700 Subject: [PATCH] Fix use secret google-play-service-account --- .github/workflows/test.yaml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index 3948a2c6..9ff7c597 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -58,7 +58,8 @@ jobs: - name: Download google-play-service-account.json run: | - echo "${{ secrets.GOOGLE_PLAY_SERVICE_ACCOUNT_JSON }}" > ./android/google-play-service-account.json + echo "${{ secrets.GOOGLE_PLAY_SERVICE_ACCOUNT_JSON }}" > google-play-service-account.asc + gpg -d --passphrase "${{ secrets.RELEASE_KEYSTORE_PASSPAHSE }}" --batch google-play-service-account.asc > ./android/google-play-service-account.json ls -l ./android - uses: ruby/setup-ruby@v1