Skip to content

Commit d2923bd

Browse files
committed
fix(ci): disable manual vcpkg cache to prevent corruption
1 parent cc3c673 commit d2923bd

File tree

1 file changed

+9
-11
lines changed

1 file changed

+9
-11
lines changed

.github/workflows/release.yml

Lines changed: 9 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -30,14 +30,6 @@ jobs:
3030
with:
3131
tool: cargo-chef,cargo-wix
3232

33-
- name: VCPKG Cache
34-
uses: actions/cache@v4
35-
with:
36-
path: vcpkg_installed
37-
key: ${{ runner.os }}-vcpkg-${{ hashFiles('vcpkg.json') }}
38-
restore-keys: |
39-
${{ runner.os }}-vcpkg-
40-
4133
- name: Setup vcpkg
4234
uses: lukka/run-vcpkg@v11
4335
with:
@@ -125,6 +117,14 @@ jobs:
125117
sudo apt-get update
126118
sudo apt-get install -y build-essential pkg-config libssl-dev libfuse2
127119
120+
- name: VCPKG Cache
121+
uses: actions/cache@v4
122+
with:
123+
path: vcpkg_installed
124+
key: ${{ runner.os }}-vcpkg-${{ hashFiles('vcpkg.json') }}
125+
restore-keys: |
126+
${{ runner.os }}-vcpkg-
127+
128128
- name: Setup vcpkg
129129
uses: lukka/run-vcpkg@v11
130130
with:
@@ -139,9 +139,7 @@ jobs:
139139
- name: Cargo Chef Cache
140140
uses: actions/cache@v4
141141
with:
142-
path: |
143-
target
144-
vcpkg_installed
142+
path: target
145143
key: ${{ runner.os }}-cargo-chef-${{ hashFiles('recipe.json') }}
146144

147145
- name: Cargo Chef Cook

0 commit comments

Comments
 (0)