diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index cf3f22d0a..86cb44d19 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -56,6 +56,11 @@ jobs: echo "${{ secrets.KEYSTORE_ENCRYPTED }}" > keystore.asc gpg -d --passphrase "${{ secrets.KEYSTORE_PASSWORD }}" --batch keystore.asc > keystore.jks + - name: Decrypt the config for Google Services + run: | + echo "${{ secrets.GOOGLE_ENCRYPTED }}" > google-services.asc + gpg -d --passphrase "${{ secrets.GOOGLE_PASSWORD }}" --batch google-services.asc > app/google-services.json + - name: Build release APK run: ./gradlew assembleRelease diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index af4e98eea..ad73b4ed7 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -29,7 +29,12 @@ jobs: - name: Decrypt the keystore for signing run: | echo "${{ secrets.KEYSTORE_ENCRYPTED }}" > keystore.asc - gpg -d --passphrase "${{ secrets.KEYSTORE_PASSWORD }}" --batch keystore.asc > keystore.jks + gpg -d --passphrase "${{ secrets.KEYSTORE_PASSWORD }}" --batch keystore.asc > keystore.jks + + - name: Decrypt the config for Google Services + run: | + echo "${{ secrets.GOOGLE_ENCRYPTED }}" > google-services.asc + gpg -d --passphrase "${{ secrets.GOOGLE_PASSWORD }}" --batch google-services.asc > app/google-services.json - name: Build Release APK run: ./gradlew assembleRelease