chore(ci): prevent using the wrong cache

This commit is contained in:
Livio Spring
2025-10-07 14:07:53 +02:00
parent d562cf5b45
commit 4012c2e2fb
2 changed files with 2 additions and 6 deletions

View File

@@ -29,9 +29,7 @@ jobs:
continue-on-error: true
id: cache
with:
key: console-${{ hashFiles('console', 'proto', '!console/dist') }}
restore-keys: |
console-
key: console-${{ hashFiles('console', 'proto', '!console/dist') }}-next
path: ${{ env.cache_path }}
- if: ${{ steps.cache.outputs.cache-hit != 'true' }}
uses: pnpm/action-setup@v4

View File

@@ -43,9 +43,7 @@ jobs:
continue-on-error: true
id: cache
with:
key: core-${{ hashFiles( 'go.*', 'openapi', 'cmd', 'pkg/grpc/**/*.go', 'proto', 'internal') }}
restore-keys: |
core-
key: core-${{ hashFiles( 'go.*', 'openapi', 'cmd', 'pkg/grpc/**/*.go', 'proto', 'internal') }}-next
path: ${{ env.cache_path }}
-
if: ${{ steps.cache.outputs.cache-hit != 'true' }}