Skip to content

Commit 66c515a

Browse files
Copilotdoitian
andcommitted
Fix: Use rm -f instead of mv for removing toolchain file
Use rm -f to safely remove the rust-toolchain.toml file without failing if it doesn't exist. Co-authored-by: doitian <[email protected]>
1 parent a015a1f commit 66c515a

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.github/workflows/wasm.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,9 @@ jobs:
1313
steps:
1414
- uses: actions/checkout@v4
1515

16+
- name: Remove toolchain file to use latest stable
17+
run: rm -f rust-toolchain.toml
18+
1619
- name: Install rust
1720
uses: dtolnay/rust-toolchain@stable
1821

0 commit comments

Comments
 (0)