Skip to content

Commit 4636609

Browse files
committed
Cache fixes
1 parent 6db3b1a commit 4636609

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/actions/cache-build/action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,6 @@ runs:
1818
${{ github.workspace }}/apps/web/.next
1919
**/.turbo/**
2020
**/dist/**
21-
key: ${{ runner.os }}-${{ env.cache-name }}-${{ env.key-1 }}-${{ env.key-2 }}-${{ github.sha }}
21+
key: ${{ runner.os }}-${{ env.cache-name }}-${{ env.key-1 }}-${{ env.key-2 }}-${{ github.event.pull_request.number || github.ref }}
2222
restore-keys: |
2323
${{ runner.os }}-${{ env.cache-name }}-${{ env.key-1 }}-${{ env.key-2 }}-

0 commit comments

Comments
 (0)