Skip to content

Commit 978e459

Browse files
committed
Replace actions-rs/toolchain with actions-rust-lang/setup-rust-toolchain in binaries.yml
1 parent c330917 commit 978e459

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

.github/workflows/binaries.yml

+2-4
Original file line numberDiff line numberDiff line change
@@ -53,11 +53,9 @@ jobs:
5353
- uses: ./.github/actions/clean-runner
5454

5555
- name: Install Rust toolchain
56-
uses: actions-rs/toolchain@v1
56+
uses: actions-rust-lang/setup-rust-toolchain@v1
5757
with:
58-
# need to provide a toolchain version because this action cannot read rust-toolchain.toml. See https://github.com/actions-rs/toolchain/issues/126
59-
# note, however, that this does not just install stable but also whatever is in rust-toolchain.toml, which is what we will use
60-
toolchain: stable
58+
rustflags: "" # set to empty value to not overwrite rustflags from .cargo/config.toml
6159

6260
# necessary because the toolchain@v1 action would install this target for stable only, whereas this command respects rust-toolchain.toml
6361
- name: Install x86_64-apple-darwin Rust toolchain

0 commit comments

Comments
 (0)