Skip to content

Commit aad1e2e

Browse files
authored
1 parent b6ad4d6 commit aad1e2e

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/build.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ jobs:
3232
- name: Install Rustup
3333
run: |
3434
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
3636
if: runner.os == 'macOS'
3737

3838
- name: Set Rustup profile to minimal
@@ -56,7 +56,7 @@ jobs:
5656
path: binaries
5757
key: ${{ runner.OS }}-binaries
5858
- name: Add binaries/bin to PATH
59-
run: echo ::add-path::$GITHUB_WORKSPACE/binaries/bin
59+
run: echo "$GITHUB_WORKSPACE/binaries/bin" >> $GITHUB_PATH
6060
shell: bash
6161

6262
- name: "Run cargo build"
@@ -119,7 +119,7 @@ jobs:
119119
- name: Install Scoop (Windows)
120120
run: |
121121
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
123123
if: runner.os == 'Windows'
124124
shell: pwsh
125125
- name: Install QEMU (Windows)

0 commit comments

Comments
 (0)