Skip to content

Commit 898faad

Browse files
committed
fix(ci): use cache-key input to setup-rust-toolchain
Signed-off-by: Jiaxiao (mossaka) Zhou <[email protected]>
1 parent 836103f commit 898faad

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/action-build.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,8 @@ jobs:
2222
steps:
2323
- uses: actions/checkout@v4
2424
- uses: actions-rust-lang/setup-rust-toolchain@v1
25-
env:
26-
RUST_CACHE_KEY_OS: rust-cache-${{ matrix.config.os }}-{{ matrix.config.arch}}
25+
with:
26+
cache-key: rust-cache-${{ matrix.config.os }}-{{ matrix.config.arch}}
2727
- name: Setup build env
2828
run: |
2929
make setup

0 commit comments

Comments
 (0)