mirror of
https://github.com/dtolnay/rust-toolchain.git
synced 2024-11-26 01:59:32 +01:00
Merge pull request #9 from dtolnay/rustup
Move title of rustup install step into the run script
This commit is contained in:
commit
a11e214f9a
1 changed files with 2 additions and 2 deletions
|
@ -31,8 +31,8 @@ runs:
|
||||||
targets: ${{inputs.target}}
|
targets: ${{inputs.target}}
|
||||||
components: ${{inputs.components}}
|
components: ${{inputs.components}}
|
||||||
shell: bash
|
shell: bash
|
||||||
- name: "Install rustup if needed"
|
- run: |
|
||||||
run: |
|
: install rustup if needed
|
||||||
if ! command -v rustup &> /dev/null ; then
|
if ! command -v rustup &> /dev/null ; then
|
||||||
curl --proto '=https' --tlsv1.2 --retry 10 --retry-connrefused -fsSL "https://sh.rustup.rs" | sh -s -- --default-toolchain none -y
|
curl --proto '=https' --tlsv1.2 --retry 10 --retry-connrefused -fsSL "https://sh.rustup.rs" | sh -s -- --default-toolchain none -y
|
||||||
echo "${CARGO_HOME:-~/.cargo}/bin" >> $GITHUB_PATH
|
echo "${CARGO_HOME:-~/.cargo}/bin" >> $GITHUB_PATH
|
||||||
|
|
Loading…
Reference in a new issue