|
65 | 65 | with: |
66 | 66 | # Branches can read main cache but main cannot read branch cache. Avoid LRU eviction with main-only cache. |
67 | 67 | cache-read-only: ${{ github.ref != 'refs/heads/main' }} |
| 68 | + # The firebase emulators are pure javascript and java, OS-independent |
| 69 | + enableCrossOsArchive: true |
68 | 70 | path: ~/.cache/firebase/emulators |
69 | | - key: firebase-emulators-v3-${{ runner.os }}-${{ env.FIREBASE_TOOLS_VERSION }} |
| 71 | + key: firebase-emulators-v3-${{ env.FIREBASE_TOOLS_VERSION }} |
70 | 72 | restore-keys: firebase-emulators-v3 |
71 | 73 | - name: Start Firebase Emulator |
72 | 74 | run: sudo chown -R 501:20 "/Users/runner/.npm" && cd ./.github/workflows/scripts && ./start-firebase-emulator.sh |
@@ -122,8 +124,10 @@ jobs: |
122 | 124 | with: |
123 | 125 | # Branches can read main cache but main cannot read branch cache. Avoid LRU eviction with main-only cache. |
124 | 126 | cache-read-only: ${{ github.ref != 'refs/heads/main' }} |
| 127 | + # The firebase emulators are pure javascript and java, OS-independent |
| 128 | + enableCrossOsArchive: true |
125 | 129 | path: ~/.cache/firebase/emulators |
126 | | - key: firebase-emulators-v3-${{ runner.os }}-${{ env.FIREBASE_TOOLS_VERSION }} |
| 130 | + key: firebase-emulators-v3-${{ env.FIREBASE_TOOLS_VERSION }} |
127 | 131 | restore-keys: firebase-emulators-v3 |
128 | 132 | - name: Start Firebase Emulator |
129 | 133 | run: sudo chown -R 501:20 "/Users/runner/.npm" && cd ./.github/workflows/scripts && ./start-firebase-emulator.sh |
@@ -184,8 +188,10 @@ jobs: |
184 | 188 | with: |
185 | 189 | # Branches can read main cache but main cannot read branch cache. Avoid LRU eviction with main-only cache. |
186 | 190 | cache-read-only: ${{ github.ref != 'refs/heads/main' }} |
| 191 | + # The firebase emulators are pure javascript and java, OS-independent |
| 192 | + enableCrossOsArchive: true |
187 | 193 | path: ~/.cache/firebase/emulators |
188 | | - key: firebase-emulators-v3-${{ runner.os }}-${{ env.FIREBASE_TOOLS_VERSION }} |
| 194 | + key: firebase-emulators-v3-${{ env.FIREBASE_TOOLS_VERSION }} |
189 | 195 | restore-keys: firebase-emulators-v3 |
190 | 196 | - name: Start Firebase Emulator |
191 | 197 | run: sudo chown -R 501:20 "/Users/runner/.npm" && cd ./.github/workflows/scripts && ./start-firebase-emulator.sh |
|
0 commit comments