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

Add description for CARGO_HOME step

This commit is contained in:
David Tolnay 2024-05-01 09:09:04 -07:00
parent e4e1c59547
commit 22eb75fbe0
No known key found for this signature in database
GPG key ID: F9BA143B95FF6D82

View file

@ -68,7 +68,9 @@ runs:
if: runner.os != 'Windows' if: runner.os != 'Windows'
shell: bash shell: bash
- run: echo CARGO_HOME=${CARGO_HOME:-${{runner.os == 'Windows' && '$USERPROFILE' || '$HOME'}}/.cargo} >> $GITHUB_ENV - run: |
: set $CARGO_HOME
echo CARGO_HOME=${CARGO_HOME:-${{runner.os == 'Windows' && '$USERPROFILE' || '$HOME'}}/.cargo} >> $GITHUB_ENV
shell: bash shell: bash
- name: rustup toolchain install ${{steps.parse.outputs.toolchain}} - name: rustup toolchain install ${{steps.parse.outputs.toolchain}}