@@ -52,12 +52,12 @@ jobs:
5252 steps :
5353 - uses : actions/checkout@v2
5454 - name : Add MSYS2 to the PATH
55- run : echo "::add-path:: c:/msys64/bin"
55+ run : echo "c:/msys64/bin" | Out-File -FilePath $env:GITHUB_PATH -Append
5656 - name : Add 32-bit mingw-w64 to the PATH
57- run : echo "::add-path:: c:/msys64/mingw32/bin"
57+ run : echo "c:/msys64/mingw32/bin" | Out-File -FilePath $env:GITHUB_PATH -Append
5858 if : startsWith(matrix.rust_target, 'i686')
5959 - name : Add 64-bit mingw-w64 to the PATH
60- run : echo "::add-path:: c:/msys64/mingw64/bin"
60+ run : echo "c:/msys64/mingw64/bin" | Out-File -FilePath $env:GITHUB_PATH -Append
6161 if : startsWith(matrix.rust_target, 'x86_64')
6262 - name : Install Rust nightly
6363 uses : actions-rs/toolchain@v1
@@ -201,7 +201,6 @@ jobs:
201201 - run : rustup target add wasm32-wasi
202202 - run : |
203203 curl -Lf https://github.com/bytecodealliance/wasmtime/releases/download/v0.19.0/wasmtime-v0.19.0-x86_64-linux.tar.xz | tar xJf - -C ${{ runner.tool_cache }}
204- echo ::add-path::${{ runner.tool_cache }}/wasmtime-v0.19.0-x86_64-linux
205- echo ::set-env name=CARGO_BUILD_TARGET::wasm32-wasi
206- echo ::set-env name=CARGO_TARGET_WASM32_WASI_RUNNER::wasmtime run --
204+ echo "${{ runner.tool_cache }}/wasmtime-v0.19.0-x86_64-linux" >> $GITHUB_PATH
205+ echo "CARGO_TARGET_WASM32_WASI_RUNNER=wasmtime run --" >> $GITHUB_ENV
207206 - run : cargo test --target wasm32-wasi --all -- --nocapture
0 commit comments