Skip to content

Commit 2014354

Browse files
authored
dataconnect.yml: append the run_id to the saved cache keys
1 parent 9a1550f commit 2014354

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

.github/workflows/dataconnect.yml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -111,12 +111,12 @@ jobs:
111111
112112
- name: Save Gradle cache
113113
uses: actions/cache/save@v4
114-
if: github.event_name == 'schedule'
114+
#if: github.event_name == 'schedule'
115115
with:
116116
path: |
117117
~/.gradle/caches
118118
~/.gradle/wrapper
119-
key: gradle-cache-jqnvfzw6w7
119+
key: gradle-cache-jqnvfzw6w7-${{ github.run_id }}
120120

121121
- name: Enable KVM group permissions for Android Emulator
122122
run: |
@@ -155,7 +155,7 @@ jobs:
155155
path: |
156156
~/.android/avd/*
157157
~/.android/adb*
158-
key: avd-cache-zhdsn586je-api${{ env.FDC_ANDROID_EMULATOR_API_LEVEL }}
158+
key: avd-cache-zhdsn586je-api${{ env.FDC_ANDROID_EMULATOR_API_LEVEL }}-${{ github.run_id }}
159159

160160
- name: Data Connect Emulator
161161
run: |
@@ -186,7 +186,6 @@ jobs:
186186
set -eux && ./gradlew ${{ (inputs.gradleInfoLog && '--info') || '' }} :firebase-dataconnect:connectedCheck :firebase-dataconnect:connectors:connectedCheck
187187
188188
- uses: actions/upload-artifact@v4
189-
if: true
190189
with:
191190
name: logs
192191
path: "**/*.log"

0 commit comments

Comments
 (0)