Skip to content

Commit

Permalink
ci: update actions (#535)
Browse files Browse the repository at this point in the history
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
  • Loading branch information
abrown authored Sep 18, 2024
1 parent 1b19fc6 commit 7d4d3b8
Showing 1 changed file with 8 additions and 6 deletions.
14 changes: 8 additions & 6 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down Expand Up @@ -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
Expand All @@ -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)
Expand All @@ -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
Expand Down

0 comments on commit 7d4d3b8

Please sign in to comment.