Skip to content

Commit

Permalink
use rustup override set to select toolchain
Browse files Browse the repository at this point in the history
Using rustup override set will override a local rust-toolchain.toml file
while rustup default will not.
  • Loading branch information
fprasx committed Jan 12, 2024
1 parent d5fcac4 commit d473183
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ runs:
toolchain=stable
fi
rustup toolchain install $toolchain${{steps.flags.outputs.targets}}${{steps.flags.outputs.components}} --profile minimal${{steps.flags.outputs.downgrade}} --no-self-update
rustup default $toolchain
rustup override set $toolchain
fi
- id: versions
Expand Down

0 comments on commit d473183

Please sign in to comment.