File tree 1 file changed +3
-3
lines changed
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -63,14 +63,14 @@ runs:
63
63
64
64
- run : |
65
65
: set $CARGO_HOME
66
- echo CARGO_HOME=${CARGO_HOME:-' ${{runner.os == 'Windows' && '$USERPROFILE\.cargo' || '$HOME/.cargo'}}' } >> $GITHUB_ENV
66
+ echo CARGO_HOME=${CARGO_HOME:-" ${{runner.os == 'Windows' && '$USERPROFILE\.cargo' || '$HOME/.cargo'}}" } >> $GITHUB_ENV
67
67
shell: bash
68
68
69
69
- run : |
70
70
: install rustup if needed
71
71
if ! command -v rustup &>/dev/null; then
72
72
curl --proto '=https' --tlsv1.2 --retry 10 --retry-connrefused --location --silent --show-error --fail https://sh.rustup.rs | sh -s -- --default-toolchain none -y
73
- echo ' $CARGO_HOME/bin' >> $GITHUB_PATH
73
+ echo " $CARGO_HOME/bin" >> $GITHUB_PATH
74
74
fi
75
75
if: runner.os != 'Windows'
76
76
shell: bash
80
80
if ! command -v rustup &>/dev/null; then
81
81
curl --proto '=https' --tlsv1.2 --retry 10 --retry-connrefused --location --silent --show-error --fail https://static.rust-lang.org/rustup/dist/${{ runner.arch == 'ARM64' && 'aarch64' || 'x86_64' }}-pc-windows-msvc/rustup-init.exe --output '${{runner.temp}}\rustup-init.exe'
82
82
'${{runner.temp}}\rustup-init.exe' --default-toolchain none --no-modify-path -y
83
- echo ' $USERPROFILE\.cargo\bin' >> $GITHUB_PATH
83
+ echo " $USERPROFILE\.cargo\bin" >> $GITHUB_PATH
84
84
fi
85
85
if: runner.os == 'Windows'
86
86
shell: bash
You can’t perform that action at this time.
0 commit comments