diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index 6c53145..ccaa20f 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -29,7 +29,7 @@ jobs: - name: Install Rustup run: | curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --default-toolchain nightly - echo ::add-path::$HOME/.cargo/bin + echo "$HOME/.cargo/bin" >> $GITHUB_PATH if: runner.os == 'macOS' - name: "Print Rust Version" @@ -43,7 +43,7 @@ jobs: path: binaries key: ${{ runner.OS }}-binaries - name: Add binaries/bin to PATH - run: echo ::add-path::$GITHUB_WORKSPACE/binaries/bin + run: echo "$GITHUB_WORKSPACE/binaries/bin" >> $GITHUB_PATH shell: bash - name: "Run cargo build" @@ -75,7 +75,7 @@ jobs: - name: Install Scoop (Windows) run: | Invoke-Expression (New-Object System.Net.WebClient).DownloadString('https://get.scoop.sh') - echo ::add-path::$HOME\scoop\shims + echo "$HOME\scoop\shims" | Out-File -FilePath $env:GITHUB_PATH -Encoding utf8 -Append if: runner.os == 'Windows' shell: pwsh - name: Install QEMU (Windows)