mirror of
https://github.com/openharmony/third_party_rust_libloading.git
synced 2026-07-21 00:26:36 -04:00
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
This commit is contained in:
@@ -71,13 +71,15 @@ jobs:
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- name: Add MSYS2 to the PATH
|
||||
run: echo "::add-path::c:/msys64/bin"
|
||||
run: echo "c:/msys64/bin" | Out-File -FilePath $env:GITHUB_PATH -Append
|
||||
- name: Add 32-bit mingw-w64 to the PATH
|
||||
run: echo "::add-path::c:/msys64/mingw32/bin"
|
||||
run: echo "c:/msys64/mingw32/bin" | Out-File -FilePath $env:GITHUB_PATH -Append
|
||||
if: startsWith(matrix.rust_target, 'i686')
|
||||
- name: Add 64-bit mingw-w64 to the PATH
|
||||
run: echo "::add-path::c:/msys64/mingw64/bin"
|
||||
run: echo "c:/msys64/mingw64/bin" | Out-File -FilePath $env:GITHUB_PATH -Append
|
||||
if: startsWith(matrix.rust_target, 'x86_64')
|
||||
- name: Set TARGET variable
|
||||
run: echo "TARGET=${{ matrix.rust_target}}" | Out-File -FilePath $env:GITHUB_ENV -Append
|
||||
- name: Install Rust nightly
|
||||
uses: actions-rs/toolchain@v1
|
||||
with:
|
||||
|
||||
Reference in New Issue
Block a user