Add Google-services.json to action

This commit is contained in:
jobobby04 2020-05-09 18:28:35 -04:00 committed by GitHub
parent b96a870c4e
commit 3b225405cb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -42,6 +42,20 @@ jobs:
force: true # optional, default is false
# Add toolchain to the path
add-to-path: true # optional, default is true
- name: base64-to-file
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 file
uses: canastro/copy-action@0.0.2
with:
# Source file
source: temp/google-services.json
# Target file
target: app/google-services.json
- name: Build Release APK
run: bash ./gradlew assembleStandard --stacktrace
- name: Sign Android release