ci: create local.properties with API keys in android-build workflow
This commit is contained in:
1 parent
5dd6d62cf9
commit
aa9473395a
1 file changed
+10
@@ -22,6 +22,16 @@ jobs:
|
||||
- name: Grant execute permission for gradlew
|
||||
run: chmod +x gradlew
|
||||
|
||||
- name: Create local.properties
|
||||
env:
|
||||
BUILT_IN_API_KEY: ${{ secrets.BUILT_IN_API_KEY }}
|
||||
BUILT_IN_API_KEY_GOOGLE: ${{ secrets.BUILT_IN_API_KEY_GOOGLE }}
|
||||
run: |
|
||||
{
|
||||
printf 'BUILT_IN_API_KEY=%s\n' "$BUILT_IN_API_KEY"
|
||||
printf 'BUILT_IN_API_KEY_GOOGLE=%s\n' "$BUILT_IN_API_KEY_GOOGLE"
|
||||
} > local.properties
|
||||
|
||||
- name: Decode Keystore
|
||||
run: echo "${{ secrets.RELEASE_KEYSTORE }}" | base64 --decode > app/release.keystore
|
||||
|
||||
|
||||
Reference in new issue
Block a user