From 695937008751aba89a312de245cfa8b40e1d1b08 Mon Sep 17 00:00:00 2001 From: jobobby04 Date: Sat, 9 May 2020 19:17:23 -0400 Subject: [PATCH] Use another way to create the file --- .github/workflows/android-debug.yml | 17 ++++------------- 1 file changed, 4 insertions(+), 13 deletions(-) diff --git a/.github/workflows/android-debug.yml b/.github/workflows/android-debug.yml index 2568d34cf..c5ae1649a 100644 --- a/.github/workflows/android-debug.yml +++ b/.github/workflows/android-debug.yml @@ -31,19 +31,10 @@ jobs: # Add toolchain to the path add-to-path: true # optional, default is true - name: Create google-services.json - uses: timheuer/base64-to-file@v1.0.3 - with: - # Name of the file when written to temp location - fileName: google-services.json # default is decoded-file.file - # The base64 encoded string - encodedString: ${{ secrets.GOOGLE_SERVICES }} - - name: Copy google-services.json to app - uses: canastro/copy-action@0.0.2 - with: - # Source file - source: ${{ steps.write_file.outputs.filePath }} - # Target file - target: ./app/google-services.json + - uses: finnp/create-file-action@1.0.0 + env: + FILE_NAME: "app/google-services.json" + FILE_BASE64: ${{ secrets.GOOGLE_SERVICES }} - name: Build Release APK run: bash ./gradlew assembleStandard --stacktrace - name: Sign Android release