mirror of
https://git.proxmox.com/git/wasi-libc
synced 2025-08-12 21:59:21 +00:00
ci: update actions (#535)
This updates the GitHub actions to avoid errors related to deprecations; see [this example]. [this example]: https://github.com/WebAssembly/wasi-libc/actions/runs/10839597105/job/30080296576
This commit is contained in:
parent
1b19fc65ad
commit
7d4d3b83fc
14
.github/workflows/main.yml
vendored
14
.github/workflows/main.yml
vendored
@ -29,7 +29,7 @@ jobs:
|
||||
- os: windows-latest
|
||||
clang_version: 16.0.0
|
||||
steps:
|
||||
- uses: actions/checkout@v1
|
||||
- uses: actions/checkout@v4.1.7
|
||||
with:
|
||||
submodules: true
|
||||
|
||||
@ -135,10 +135,12 @@ jobs:
|
||||
# which is required by our malloc implementation.
|
||||
if: matrix.os == 'ubuntu-latest' && matrix.clang_version != '10.0.0'
|
||||
|
||||
- uses: actions/upload-artifact@v1
|
||||
- uses: actions/upload-artifact@v4.4.0
|
||||
with:
|
||||
# Upload the sysroot folder. Give it a name according to the OS it was built for.
|
||||
name: ${{ format( 'sysroot-{0}.tgz', matrix.os) }}
|
||||
# Upload the sysroot folder. To avoid action erros, we give it a unique
|
||||
# name using the OS it was built for and the Clang version it was built
|
||||
# with.
|
||||
name: ${{ format( 'sysroot-{0}-clang-{1}.tgz', matrix.os, matrix.clang_version) }}
|
||||
path: sysroot
|
||||
|
||||
# Disable the headerstest job for now, while WASI transitions from the
|
||||
@ -152,7 +154,7 @@ jobs:
|
||||
matrix:
|
||||
os: [ubuntu-latest, macos-latest, windows-latest]
|
||||
steps:
|
||||
- uses: actions/checkout@v1
|
||||
- uses: actions/checkout@v4.1.7
|
||||
with:
|
||||
submodules: true
|
||||
- name: Install Rust (rustup)
|
||||
@ -175,7 +177,7 @@ jobs:
|
||||
name: Rustfmt
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v1
|
||||
- uses: actions/checkout@v4.1.7
|
||||
with:
|
||||
submodules: true
|
||||
- name: Install Rust
|
||||
|
Loading…
Reference in New Issue
Block a user