Skip to content

Commit d9accca

Browse files
committed
hardcode keys since ${{ env.XXX }} is not available in the "env" section
1 parent a4c786f commit d9accca

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed

.github/workflows/dataconnect.yml

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,6 @@ env:
2727
FDC_FIREBASE_TOOLS_VERSION: ${{ inputs.firebaseToolsVersion || '13.29.1' }}
2828
FDC_FIREBASE_TOOLS_DIR: /tmp/firebase-tools
2929
FDC_FIREBASE_COMMAND: /tmp/firebase-tools/node_modules/.bin/firebase
30-
FDC_GRADLE_CACHE_KEY: gradle-cache-jqnvfzw6w7-${{ github.run_id }}
31-
FDC_AVD_CACHE_KEY: avd-cache-zhdsn586je-api${{ env.FDC_ANDROID_EMULATOR_API_LEVEL }}-${{ github.run_id }}
3230

3331
concurrency:
3432
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
@@ -81,7 +79,7 @@ jobs:
8179
path: |
8280
~/.gradle/caches
8381
~/.gradle/wrapper
84-
key: ${{ env.FDC_GRADLE_CACHE_KEY }}
82+
key: gradle-cache-jqnvfzw6w7-${{ github.run_id }}
8583
restore-keys: |
8684
gradle-cache-jqnvfzw6w7-
8785
@@ -124,7 +122,7 @@ jobs:
124122
path: |
125123
~/.gradle/caches
126124
~/.gradle/wrapper
127-
key: ${{ env.FDC_GRADLE_CACHE_KEY }}
125+
key: gradle-cache-jqnvfzw6w7-${{ github.run_id }}
128126

129127
- name: Enable KVM group permissions for Android Emulator
130128
run: |
@@ -140,7 +138,7 @@ jobs:
140138
path: |
141139
~/.android/avd/*
142140
~/.android/adb*
143-
key: ${{ env.FDC_AVD_CACHE_KEY }}
141+
key: avd-cache-zhdsn586je-api${{ env.FDC_ANDROID_EMULATOR_API_LEVEL }}-${{ github.run_id }}
144142
restore-keys: |
145143
avd-cache-zhdsn586je-api${{ env.FDC_ANDROID_EMULATOR_API_LEVEL }}-
146144
@@ -161,7 +159,7 @@ jobs:
161159
path: |
162160
~/.android/avd/*
163161
~/.android/adb*
164-
key: ${{ env.FDC_AVD_CACHE_KEY }}
162+
key: avd-cache-zhdsn586je-api${{ env.FDC_ANDROID_EMULATOR_API_LEVEL }}-${{ github.run_id }}
165163

166164
- name: Data Connect Emulator
167165
run: |

0 commit comments

Comments
 (0)