File tree Expand file tree Collapse file tree 1 file changed +11
-0
lines changed
Expand file tree Collapse file tree 1 file changed +11
-0
lines changed Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments