Skip to content

Commit 70b2934

Browse files
authored
Fix CI cache path quoting
1 parent 0887d22 commit 70b2934

File tree

1 file changed

+14
-14
lines changed

1 file changed

+14
-14
lines changed

.github/workflows/rust.yml

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ jobs:
9393
uses: actions/cache@1bd1e32a3bdc45362d1e726936510720a7c30a57 # v4.2.0
9494
id: tool-cache
9595
with:
96-
path: '~/**/_tool'
96+
path: ~/**/_tool
9797
# We don't have an easy way to clear old tool versions, but there aren't many tools
9898
# (or versions), so just reset when we upgrade the compiler.
9999
key: ${{ runner.os }}-tool-${{ hashFiles('./rust-toolchain.toml') }}
@@ -164,7 +164,7 @@ jobs:
164164
uses: actions/cache@1bd1e32a3bdc45362d1e726936510720a7c30a57 # v4.2.0
165165
with:
166166
# Clippy has no build artifacts, so we can save the whole target directory
167-
path: './target'
167+
path: ./target
168168
# There's no point in restoring deps from older compiler versions, because they won't be
169169
# used. To stop the cache from growing too large, we also reset it whenever any direct
170170
# dependency version changes.
@@ -216,7 +216,7 @@ jobs:
216216
uses: actions/cache@1bd1e32a3bdc45362d1e726936510720a7c30a57 # v4.2.0
217217
id: tool-cache
218218
with:
219-
path: '~/**/_tool'
219+
path: ~/**/_tool
220220
key: ${{ runner.os }}-tool-${{ hashFiles('./rust-toolchain.toml') }}
221221

222222
- name: Install Protoc
@@ -293,7 +293,7 @@ jobs:
293293
uses: actions/cache@1bd1e32a3bdc45362d1e726936510720a7c30a57 # v4.2.0
294294
id: tool-cache
295295
with:
296-
path: '~/**/_tool'
296+
path: ~/**/_tool
297297
key: ${{ runner.os }}-tool-${{ hashFiles('./rust-toolchain.toml') }}
298298

299299
- name: Install Protoc
@@ -326,13 +326,13 @@ jobs:
326326
uses: actions/cache@1bd1e32a3bdc45362d1e726936510720a7c30a57 # v4.2.0
327327
with:
328328
path: |
329-
'./target/.rustc_info.json'
330-
'./target/cxxbridge'
331-
'./target/debug/build'
332-
'./target/debug/deps'
333-
'./target/debug/examples'
334-
'./target/debug/incremental'
335-
'./target/nextest'
329+
./target/.rustc_info.json
330+
./target/cxxbridge
331+
./target/debug/build
332+
./target/debug/deps
333+
./target/debug/examples
334+
./target/debug/incremental
335+
./target/nextest
336336
key: ${{ runner.os }}-${{ github.job }}-target-${{ hashFiles('./Cargo.toml') }}-${{ hashFiles('./rust-toolchain.toml') }}
337337
if: runner.os == 'macOS'
338338

@@ -364,7 +364,7 @@ jobs:
364364
uses: actions/cache@1bd1e32a3bdc45362d1e726936510720a7c30a57 # v4.2.0
365365
id: tool-cache
366366
with:
367-
path: '~/**/_tool'
367+
path: ~/**/_tool
368368
key: ${{ runner.os }}-tool-${{ hashFiles('./rust-toolchain.toml') }}
369369

370370
- name: Install Protoc
@@ -408,7 +408,7 @@ jobs:
408408
uses: actions/cache@1bd1e32a3bdc45362d1e726936510720a7c30a57 # v4.2.0
409409
id: tool-cache
410410
with:
411-
path: '~/**/_tool'
411+
path: ~/**/_tool
412412
key: ${{ runner.os }}-tool-${{ hashFiles('./rust-toolchain.toml') }}
413413

414414
- name: Install Protoc
@@ -451,7 +451,7 @@ jobs:
451451
uses: actions/cache@1bd1e32a3bdc45362d1e726936510720a7c30a57 # v4.2.0
452452
id: tool-cache
453453
with:
454-
path: '~/**/_tool'
454+
path: ~/**/_tool
455455
key: ${{ runner.os }}-tool-${{ hashFiles('./rust-toolchain.toml') }}
456456

457457
- name: Install Protoc

0 commit comments

Comments
 (0)