@@ -52,12 +52,12 @@ jobs:
52
52
steps :
53
53
- uses : actions/checkout@v2
54
54
- 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
56
56
- 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
58
58
if : startsWith(matrix.rust_target, 'i686')
59
59
- 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
61
61
if : startsWith(matrix.rust_target, 'x86_64')
62
62
- name : Install Rust nightly
63
63
uses : actions-rs/toolchain@v1
@@ -201,7 +201,6 @@ jobs:
201
201
- run : rustup target add wasm32-wasi
202
202
- run : |
203
203
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
207
206
- run : cargo test --target wasm32-wasi --all -- --nocapture
0 commit comments