Skip to content

Commit

Permalink
Replace actions-rs/toolchain with actions-rust-lang/setup-rust-toolch…
Browse files Browse the repository at this point in the history
…ain in binaries.yml
  • Loading branch information
tillrohrmann committed Apr 25, 2024
1 parent c330917 commit 978e459
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions .github/workflows/binaries.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,11 +53,9 @@ jobs:
- uses: ./.github/actions/clean-runner

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

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

0 comments on commit 978e459

Please sign in to comment.