Update gradle_build.yaml using jq to work with Firebase keys
This commit is contained in:
6
.github/workflows/gradle_build.yaml
vendored
6
.github/workflows/gradle_build.yaml
vendored
@@ -14,10 +14,14 @@ jobs:
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
|
||||
- name: Install jq
|
||||
run:
|
||||
sudo apt-get install jq
|
||||
|
||||
- name: Create google-services.json
|
||||
run:
|
||||
# mkdir -p app/src/google-services.json
|
||||
echo "${{ secrets.FIREBASE_JSON }}" >> app/src/google-services.json
|
||||
jq "${{ secrets.FIREBASE_JSON }}" app/src/google-services.json
|
||||
|
||||
- name: set up JDK 17
|
||||
uses: actions/setup-java@v3
|
||||
|
||||
Reference in New Issue
Block a user