1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-12-01 16:51:13 -05:00

chore(ci): ensure Rust toolchain installation is based on rust-toolchain.toml (#18104)

It seems like `dtolnay/rust-toolchain` does not want to support
rust-toolchain.toml unfortunately and we had thought it did.
This commit is contained in:
David Sherret 2023-03-09 17:01:41 -05:00 committed by Yoshiya Hinosawa
parent 2cd5f64695
commit 2e16551d24
2 changed files with 2 additions and 2 deletions

View file

@ -81,7 +81,7 @@ const submoduleStep = (submodule: string) => ({
});
const installRustStep = {
uses: "dtolnay/rust-toolchain@stable",
uses: "dsherret/rust-toolchain-file@v1",
};
const installPythonSteps = [{
name: "Install Python",

View file

@ -101,7 +101,7 @@ jobs:
mkdir -p target/release
tar --exclude=".git*" --exclude=target --exclude=third_party/prebuilt \
-czvf target/release/deno_src.tar.gz -C .. deno
- uses: dtolnay/rust-toolchain@stable
- uses: dsherret/rust-toolchain-file@v1
if: '!(github.event_name == ''pull_request'' && matrix.skip_pr) && (steps.exit_early.outputs.EXIT_EARLY != ''true'')'
- if: '!(github.event_name == ''pull_request'' && matrix.skip_pr) && (steps.exit_early.outputs.EXIT_EARLY != ''true'' && (matrix.job == ''lint'' || matrix.job == ''test''))'
name: Install Deno