Skip to content

Commit

Permalink
Add CARGO_HOME to GITHUB_ENV
Browse files Browse the repository at this point in the history
  • Loading branch information
dariocurr committed Apr 30, 2024
1 parent bb45937 commit 18c33af
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 18c33af

Please sign in to comment.