Skip to content

Commit 7d4d3b8

Browse files
authored
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
1 parent 1b19fc6 commit 7d4d3b8

File tree

1 file changed

+8
-6
lines changed

1 file changed

+8
-6
lines changed

.github/workflows/main.yml

+8-6
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ jobs:
2929
- os: windows-latest
3030
clang_version: 16.0.0
3131
steps:
32-
- uses: actions/checkout@v1
32+
- uses: actions/checkout@v4.1.7
3333
with:
3434
submodules: true
3535

@@ -135,10 +135,12 @@ jobs:
135135
# which is required by our malloc implementation.
136136
if: matrix.os == 'ubuntu-latest' && matrix.clang_version != '10.0.0'
137137

138-
- uses: actions/upload-artifact@v1
138+
- uses: actions/upload-artifact@v4.4.0
139139
with:
140-
# Upload the sysroot folder. Give it a name according to the OS it was built for.
141-
name: ${{ format( 'sysroot-{0}.tgz', matrix.os) }}
140+
# Upload the sysroot folder. To avoid action erros, we give it a unique
141+
# name using the OS it was built for and the Clang version it was built
142+
# with.
143+
name: ${{ format( 'sysroot-{0}-clang-{1}.tgz', matrix.os, matrix.clang_version) }}
142144
path: sysroot
143145

144146
# Disable the headerstest job for now, while WASI transitions from the
@@ -152,7 +154,7 @@ jobs:
152154
matrix:
153155
os: [ubuntu-latest, macos-latest, windows-latest]
154156
steps:
155-
- uses: actions/checkout@v1
157+
- uses: actions/checkout@v4.1.7
156158
with:
157159
submodules: true
158160
- name: Install Rust (rustup)
@@ -175,7 +177,7 @@ jobs:
175177
name: Rustfmt
176178
runs-on: ubuntu-latest
177179
steps:
178-
- uses: actions/checkout@v1
180+
- uses: actions/checkout@v4.1.7
179181
with:
180182
submodules: true
181183
- name: Install Rust

0 commit comments

Comments
 (0)