Skip to content

Commit 9c28a87

Browse files
committed
fix tarball cache
1 parent e961bc3 commit 9c28a87

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.github/workflows/build.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,7 @@ env:
5050
${{ github.workspace }}/packages/utils/esm
5151
5252
BUILD_CACHE_KEY: ${{ github.event.inputs.commit || github.sha }}
53+
BUILD_CACHE_TARBALL_KEY: tarballs-${{ github.event.inputs.commit || github.sha }}
5354

5455
# GH will use the first restore-key it finds that matches
5556
# So it will start by looking for one from the same branch, else take the newest one it can find elsewhere
@@ -947,7 +948,7 @@ jobs:
947948
uses: actions/cache/save@v4
948949
with:
949950
path: ${{ github.workspace }}/packages/*/*.tgz
950-
key: ${{ env.BUILD_PROFILING_NODE_CACHE_TARBALL_KEY }}
951+
key: ${{ env.BUILD_CACHE_TARBALL_KEY }}
951952

952953
job_e2e_tests:
953954
name: E2E ${{ matrix.label || matrix.test-application }} Test
@@ -1043,7 +1044,7 @@ jobs:
10431044
uses: actions/cache/restore@v4
10441045
with:
10451046
path: ${{ github.workspace }}/packages/*/*.tgz
1046-
key: ${{ env.BUILD_PROFILING_NODE_CACHE_TARBALL_KEY }}
1047+
key: ${{ env.BUILD_CACHE_TARBALL_KEY }}
10471048

10481049
- name: Get node version
10491050
id: versions

0 commit comments

Comments
 (0)