Skip to content

Commit

Permalink
Merge pull request #108 from dariocurr/master
Browse files Browse the repository at this point in the history
Add `CARGO_HOME` to `GITHUB_ENV`
  • Loading branch information
dtolnay authored May 1, 2024
2 parents bb45937 + 18c33af commit b004a9e
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit b004a9e

Please sign in to comment.