Skip to content

Commit 37bad67

Browse files
committed
use different caches for test and wheel jobs
1 parent 9a456f9 commit 37bad67

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

.github/workflows/build_wheels.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -107,8 +107,8 @@ jobs:
107107
- uses: actions/cache@v4
108108
with:
109109
path: ${{github.workspace}}\vcpkg-cache
110-
key: ${{ hashFiles('vcpkg.json') }}-vcpkg
111-
restore-keys: vcpkg
110+
key: ${{ hashFiles('vcpkg.json') }}-vcpkg-wheel-cache
111+
restore-keys: vcpkg-wheel-cache
112112

113113
- name: Create cache directory
114114
run: mkdir ${{env.VCPKG_DEFAULT_BINARY_CACHE}} -Force

.github/workflows/test.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -188,8 +188,8 @@ jobs:
188188
- uses: actions/cache@v4
189189
with:
190190
path: ${{github.workspace}}\vcpkg-cache
191-
key: ${{ hashFiles('vcpkg.json') }}-vcpkg
192-
restore-keys: vcpkg
191+
key: ${{ hashFiles('vcpkg.json') }}-vcpkg-cache
192+
restore-keys: vcpkg-cache
193193

194194
- name: Create cache directory
195195
run: mkdir ${{env.VCPKG_DEFAULT_BINARY_CACHE}} -Force

0 commit comments

Comments
 (0)