File tree 1 file changed +6
-6
lines changed
1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -59,20 +59,20 @@ runs:
59
59
components : ${{inputs.components}}
60
60
shell : bash
61
61
62
+ - run : |
63
+ : set $CARGO_HOME
64
+ echo CARGO_HOME=${CARGO_HOME:-${{runner.os == 'Windows' && '$USERPROFILE' || '$HOME'}}/.cargo} >> $GITHUB_ENV
65
+ shell: bash
66
+
62
67
- run : |
63
68
: install rustup if needed
64
69
if ! command -v rustup &>/dev/null; then
65
70
curl --proto '=https' --tlsv1.2 --retry 10 --retry-connrefused --location --silent --show-error --fail "https://sh.rustup.rs" | sh -s -- --default-toolchain none -y
66
- echo "${ CARGO_HOME:-$HOME/.cargo} /bin" >> $GITHUB_PATH
71
+ echo "$CARGO_HOME/bin" >> $GITHUB_PATH
67
72
fi
68
73
if: runner.os != 'Windows'
69
74
shell: bash
70
75
71
- - run : |
72
- : set $CARGO_HOME
73
- echo CARGO_HOME=${CARGO_HOME:-${{runner.os == 'Windows' && '$USERPROFILE' || '$HOME'}}/.cargo} >> $GITHUB_ENV
74
- shell: bash
75
-
76
76
- name : rustup toolchain install ${{steps.parse.outputs.toolchain}}
77
77
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
78
78
shell : bash
You can’t perform that action at this time.
0 commit comments