diff --git a/.github/workflows/build_preview.yml b/.github/workflows/build_preview.yml index cfb9e824d2..1ff2242d14 100644 --- a/.github/workflows/build_preview.yml +++ b/.github/workflows/build_preview.yml @@ -86,6 +86,13 @@ jobs: contents: ${{ secrets.GOOGLE_SERVICES_TEXT }} write-mode: overwrite + - name: Write client_secrets.json + uses: DamianReeves/write-file-action@v1.2 + with: + path: app/src/main/assets/client_secrets.json + contents: ${{ secrets.CLIENT_SECRETS_TEXT }} + write-mode: overwrite + - name: Build app if: ${{ ! startsWith(github.ref, 'refs/tags/') && github.repository == 'komikku-app/komikku' }} run: ./gradlew assembleStandardRelease testStandardReleaseUnitTest --stacktrace