Skip to content

Commit 24e3775

Browse files
committed
Fix CI
1 parent dbae36c commit 24e3775

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

.github/workflows/check_and_deploy.yml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -102,6 +102,11 @@ jobs:
102102
- name: Accept Android licenses
103103
run: yes | "$ANDROID_HOME"/cmdline-tools/latest/bin/sdkmanager --licenses || true
104104

105+
- name: Restore google-services.json
106+
run: |
107+
mkdir -p app
108+
echo "${{ secrets.GOOGLE_SERVICES_JSON_BASE64 }}" | base64 --decode > app/google-services.json
109+
105110
- name: Run Espresso tests on Pixel6 Api${{ matrix.api-level }} AOSP
106111
run: ./gradlew pixel6Api${{ matrix.api-level }}aospDebugAndroidTest
107112
-Pandroid.experimental.testOptions.managedDevices.emulator.showKernelLogging=true
@@ -138,6 +143,12 @@ jobs:
138143
uses: actions/checkout@v4
139144
with:
140145
fetch-depth: 0
146+
147+
- name: Restore google-services.json
148+
run: |
149+
mkdir -p app
150+
echo "${{ secrets.GOOGLE_SERVICES_JSON_BASE64 }}" | base64 --decode > app/google-services.json
151+
141152
# 2
142153
- name: Generate Release APK
143154
run: ./gradlew assembleRelease

0 commit comments

Comments
 (0)