Skip to content

Commit 03da7f2

Browse files
CI: use actions/upload-artifact@v4 and actions/download-artifact@v4 (#924)
1 parent 9f21ce0 commit 03da7f2

File tree

1 file changed

+11
-11
lines changed

1 file changed

+11
-11
lines changed

.github/workflows/build-test-deploy.yml

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ jobs:
3535
cp output/gprofiler_x86_64 output/gprofiler # for backwards compatibility, we upload both with arch suffix and without
3636
3737
- name: Upload the executables as job artifacts
38-
uses: actions/upload-artifact@v2
38+
uses: actions/upload-artifact@v4
3939
with:
4040
name: gprofiler_x86_64
4141
path: output/
@@ -90,7 +90,7 @@ jobs:
9090
submodules: true
9191

9292
- name: Download the executable from previous job
93-
uses: actions/download-artifact@v2
93+
uses: actions/download-artifact@v4
9494
with:
9595
name: gprofiler_x86_64
9696
path: dist/
@@ -130,7 +130,7 @@ jobs:
130130
mv build/aarch64/gprofiler output/gprofiler_aarch64
131131
132132
- name: Upload the executables as job artifacts
133-
uses: actions/upload-artifact@v2
133+
uses: actions/upload-artifact@v4
134134
with:
135135
name: gprofiler_aarch64
136136
path: output/
@@ -155,13 +155,13 @@ jobs:
155155
run: ./scripts/verify_tag.sh
156156

157157
- name: Download x86_64 executable from a previous job
158-
uses: actions/download-artifact@v2
158+
uses: actions/download-artifact@v4
159159
with:
160160
name: gprofiler_x86_64
161161
path: output/
162162

163163
- name: Download aarch64 executable from a previous job
164-
uses: actions/download-artifact@v2
164+
uses: actions/download-artifact@v4
165165
with:
166166
name: gprofiler_aarch64
167167
path: output/
@@ -189,7 +189,7 @@ jobs:
189189
fetch-depth: 0
190190

191191
- name: Download executables from the previous job
192-
uses: actions/download-artifact@v2
192+
uses: actions/download-artifact@v4
193193
with:
194194
name: gprofiler_x86_64
195195
path: output/
@@ -205,7 +205,7 @@ jobs:
205205
run: mkdir -p output && docker image save gprofiler_x86_64 > output/gprofiler_x86_64.img
206206

207207
- name: Upload the image artifact
208-
uses: actions/upload-artifact@v2
208+
uses: actions/upload-artifact@v4
209209
with:
210210
name: gprofiler_x86_64.img
211211
path: output/
@@ -250,13 +250,13 @@ jobs:
250250
submodules: true
251251

252252
- name: Download the executable from previous job
253-
uses: actions/download-artifact@v2
253+
uses: actions/download-artifact@v4
254254
with:
255255
name: gprofiler_x86_64
256256
path: output/
257257

258258
- name: Download the image from previous job
259-
uses: actions/download-artifact@v2
259+
uses: actions/download-artifact@v4
260260
with:
261261
name: gprofiler_x86_64.img
262262
path: output/
@@ -309,7 +309,7 @@ jobs:
309309
uses: docker/setup-buildx-action@v1
310310

311311
- name: Download executables from the previous job
312-
uses: actions/download-artifact@v2
312+
uses: actions/download-artifact@v4
313313
with:
314314
name: gprofiler_aarch64
315315
path: output/
@@ -347,7 +347,7 @@ jobs:
347347
# build-container-aarch64 has pushed the image to DockerHub, so we'll pull it later when creating
348348
# the manifest.
349349
- name: Download the x86_64 image from previous job
350-
uses: actions/download-artifact@v2
350+
uses: actions/download-artifact@v4
351351
with:
352352
name: gprofiler_x86_64.img
353353
path: output/

0 commit comments

Comments
 (0)