Use another way to create the file
This commit is contained in:
parent
1d0937397f
commit
6959370087
17
.github/workflows/android-debug.yml
vendored
17
.github/workflows/android-debug.yml
vendored
@ -31,19 +31,10 @@ jobs:
|
|||||||
# Add toolchain to the path
|
# Add toolchain to the path
|
||||||
add-to-path: true # optional, default is true
|
add-to-path: true # optional, default is true
|
||||||
- name: Create google-services.json
|
- name: Create google-services.json
|
||||||
uses: timheuer/base64-to-file@v1.0.3
|
- uses: finnp/create-file-action@1.0.0
|
||||||
with:
|
env:
|
||||||
# Name of the file when written to temp location
|
FILE_NAME: "app/google-services.json"
|
||||||
fileName: google-services.json # default is decoded-file.file
|
FILE_BASE64: ${{ secrets.GOOGLE_SERVICES }}
|
||||||
# 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
|
|
||||||
- name: Build Release APK
|
- name: Build Release APK
|
||||||
run: bash ./gradlew assembleStandard --stacktrace
|
run: bash ./gradlew assembleStandard --stacktrace
|
||||||
- name: Sign Android release
|
- name: Sign Android release
|
||||||
|
Loading…
x
Reference in New Issue
Block a user