Skip to content

Commit 8f3c451

Browse files
dependabot[bot]whot
authored andcommitted
CI: bump actions/download-artifact to v4
Originally suggested by github's dependabot this bumps to download-artifact@v4 for a security issue. That requires bumping to upload-artifact@v4 too. And that in turn requires that we only have one tarball with any given name so we no only generate the tarball from the gcc job.
1 parent b43c259 commit 8f3c451

File tree

1 file changed

+8
-7
lines changed

1 file changed

+8
-7
lines changed

.github/workflows/build.yml

+8-7
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,8 @@ jobs:
5353
- name: move tarball to top level
5454
run: |
5555
mv _build/xf86-input-wacom-*tar.bz2 .
56-
- uses: actions/upload-artifact@v3
56+
- uses: actions/upload-artifact@v4
57+
if: ${{ matrix.compiler == 'gcc' }}
5758
with:
5859
name: tarball
5960
path: xf86-input-wacom-*tar.bz2
@@ -84,7 +85,7 @@ jobs:
8485
env:
8586
CC: ${{matrix.compiler}}
8687
# Capture all the meson logs, even if we failed
87-
- uses: actions/upload-artifact@v3
88+
- uses: actions/upload-artifact@v4
8889
if: ${{ always() }} # even if we fail
8990
with:
9091
name: meson-test-logs-${{github.job}}-${{matrix.compiler}}-${{matrix.meson_options}}
@@ -107,7 +108,7 @@ jobs:
107108
with:
108109
meson_args: -Dauto_features=enabled
109110
# Capture all the meson logs, even if we failed
110-
- uses: actions/upload-artifact@v3
111+
- uses: actions/upload-artifact@v4
111112
if: ${{ always() }} # even if we fail
112113
with:
113114
name: meson-test-logs-${{github.job}}
@@ -130,7 +131,7 @@ jobs:
130131
with:
131132
apt: $UBUNTU_PACKAGES
132133
- name: fetch tarball from previous job(s)
133-
uses: actions/download-artifact@v3
134+
uses: actions/download-artifact@v4
134135
with:
135136
name: tarball
136137
- name: extract tarball
@@ -160,7 +161,7 @@ jobs:
160161
apt: $UBUNTU_PACKAGES
161162
pip: $PIP_PACKAGES
162163
- name: fetch tarball from previous job(s)
163-
uses: actions/download-artifact@v3
164+
uses: actions/download-artifact@v4
164165
with:
165166
name: tarball
166167
- name: extract tarball
@@ -175,7 +176,7 @@ jobs:
175176
meson_args: -Dauto_features=enabled --prefix="$INSTALLDIR"
176177
ninja_args: test
177178
# Capture all the meson logs, even if we failed
178-
- uses: actions/upload-artifact@v3
179+
- uses: actions/upload-artifact@v4
179180
if: ${{ always() }} # even if we fail
180181
with:
181182
name: tarball-build-meson-test-logs
@@ -192,7 +193,7 @@ jobs:
192193
- name: Checkout the repo
193194
uses: actions/checkout@v3
194195
- name: fetch tarball from previous job(s)
195-
uses: actions/download-artifact@v3
196+
uses: actions/download-artifact@v4
196197
with:
197198
name: tarball
198199
- name: list git files

0 commit comments

Comments
 (0)