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 32
32
- name : Install Rustup
33
33
run : |
34
34
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --default-toolchain nightly
35
- echo ::add-path:: $HOME/.cargo/bin
35
+ echo " $HOME/.cargo/bin" >> $GITHUB_PATH
36
36
if : runner.os == 'macOS'
37
37
38
38
- name : Set Rustup profile to minimal
56
56
path : binaries
57
57
key : ${{ runner.OS }}-binaries
58
58
- name : Add binaries/bin to PATH
59
- run : echo ::add-path:: $GITHUB_WORKSPACE/binaries/bin
59
+ run : echo " $GITHUB_WORKSPACE/binaries/bin" >> $GITHUB_PATH
60
60
shell : bash
61
61
62
62
- name : " Run cargo build"
@@ -119,7 +119,7 @@ jobs:
119
119
- name : Install Scoop (Windows)
120
120
run : |
121
121
Invoke-Expression (New-Object System.Net.WebClient).DownloadString('https://get.scoop.sh')
122
- echo ::add-path:: $HOME\scoop\shims
122
+ echo " $HOME\scoop\shims" | Out-File -FilePath $env:GITHUB_PATH -Encoding utf8 -Append
123
123
if : runner.os == 'Windows'
124
124
shell : pwsh
125
125
- name : Install QEMU (Windows)
You can’t perform that action at this time.
0 commit comments