Skip to content

Commit 45bc3a6

Browse files
committed
Refresh the actions file
* Remove deprecated usage of set-path as per https://github.blog/changelog/2020-10-01-github-actions-deprecating-set-env-and-add-path-commands/ * Set TARGET variable for tests
1 parent 1d9dc86 commit 45bc3a6

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

.github/workflows/libloading.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -71,13 +71,15 @@ jobs:
7171
steps:
7272
- uses: actions/checkout@v2
7373
- name: Add MSYS2 to the PATH
74-
run: echo "::add-path::c:/msys64/bin"
74+
run: echo "c:/msys64/bin" | Out-File -FilePath $env:GITHUB_PATH -Append
7575
- name: Add 32-bit mingw-w64 to the PATH
76-
run: echo "::add-path::c:/msys64/mingw32/bin"
76+
run: echo "c:/msys64/mingw32/bin" | Out-File -FilePath $env:GITHUB_PATH -Append
7777
if: startsWith(matrix.rust_target, 'i686')
7878
- name: Add 64-bit mingw-w64 to the PATH
79-
run: echo "::add-path::c:/msys64/mingw64/bin"
79+
run: echo "c:/msys64/mingw64/bin" | Out-File -FilePath $env:GITHUB_PATH -Append
8080
if: startsWith(matrix.rust_target, 'x86_64')
81+
- name: Set TARGET variable
82+
run: echo "TARGET=${{ matrix.rust_target}}" | Out-File -FilePath $env:GITHUB_ENV -Append
8183
- name: Install Rust nightly
8284
uses: actions-rs/toolchain@v1
8385
with:

0 commit comments

Comments
 (0)