3
0
Fork 0
mirror of https://github.com/dtolnay/rust-toolchain.git synced 2024-11-22 08:49:30 +01:00

Merge pull request #108 from dariocurr/master

Add `CARGO_HOME` to `GITHUB_ENV`
This commit is contained in:
David Tolnay 2024-05-01 12:04:19 -04:00 committed by GitHub
commit b004a9e513
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -68,6 +68,14 @@ runs:
if: runner.os != 'Windows'
shell: bash
- run: echo CARGO_HOME=${CARGO_HOME:-$HOME/.cargo} >> $GITHUB_ENV
if: runner.os != 'Windows'
shell: bash
- run: echo CARGO_HOME=${CARGO_HOME:-$USERPROFILE/.cargo} >> $GITHUB_ENV
if: runner.os == 'Windows'
shell: bash
- name: rustup toolchain install ${{steps.parse.outputs.toolchain}}
run: rustup toolchain install ${{steps.parse.outputs.toolchain}}${{steps.flags.outputs.targets}}${{steps.flags.outputs.components}} --profile minimal${{steps.flags.outputs.downgrade}} --no-self-update
shell: bash