File tree Expand file tree Collapse file tree 1 file changed +2
-9
lines changed
.github/actions/setup-rust Expand file tree Collapse file tree 1 file changed +2
-9
lines changed Original file line number Diff line number Diff line change @@ -11,17 +11,10 @@ inputs:
1111runs :
1212 using : ' composite'
1313 steps :
14- - name : Print rustup toolchain version
15- shell : bash
16- id : rustup-version
17- run : |
18- export RUST_TOOLCHAIN_VERSION="$(grep 'channel' rust-toolchain.toml | head -1 | awk -F '"' '{print $2}')"
19- echo "Rust toolchain version: $RUST_TOOLCHAIN_VERSION"
20- echo "RUST_TOOLCHAIN_VERSION=$RUST_TOOLCHAIN_VERSION" >> "$GITHUB_OUTPUT"
2114 - name : Setup Rust
2215 uses : dtolnay/rust-toolchain@stable
2316 with :
24- toolchain : ' ${{ steps.rustup-version.outputs.RUST_TOOLCHAIN_VERSION }} '
17+ toolchain : stable
2518 targets : ${{ inputs.targets }}
2619 components : ${{ inputs.components }}
2720 env :
3528 ~/.cargo/git/db/
3629 ~/.napi-rs
3730 target/${{ inputs.target }}
38- key : ${{ steps.rustup-version.outputs.RUST_TOOLCHAIN_VERSION }} -${{ inputs.target }}-cargo-cache
31+ key : stable -${{ inputs.target }}-cargo-cache
You can’t perform that action at this time.
0 commit comments