Skip to content

Commit

Permalink
use actions-rust-lang instead of dtolnay
Browse files Browse the repository at this point in the history
  • Loading branch information
memark committed Jul 14, 2024
1 parent 2c17456 commit 34d8389
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ By default, the action installs (if necessary) and then uses the `stable` toolch
If you want to setup the toolchain manually, you can set `rust-toolchain` to `manual`. In this case, the action assumes some Rust toolchain is already installed and uses the default one:
```yaml
- name: Setup Rust
uses: dtolnay/rust-toolchain@master
uses: actions-rust-lang/setup-rust-toolchain@v1
with:
toolchain: stable 2 months ago
- name: Check semver
Expand All @@ -138,7 +138,7 @@ By default, the action uses the default target (based on the host platform). You
If you want to set up the toolchain manually, you can set `rust-toolchain` to `manual`. In this case, the action will *not* attempt to install the target — instead, it assumes the target is already set up:
```yaml
- name: Setup Rust
uses: dtolnay/rust-toolchain@master
uses: actions-rust-lang/setup-rust-toolchain@v1
with:
toolchain: stable 2 months ago
target: aarch64-apple-darwin
Expand Down

0 comments on commit 34d8389

Please sign in to comment.