Skip to content

Commit 91f2cec

Browse files
committed
ci: use artifact upload/download v4 for Linux images
Version 4 doesn't allow uploading to the same named artifact multiple times. So we need to split out the image artifacts.
1 parent 30bc545 commit 91f2cec

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

.github/workflows/linux.yml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -106,9 +106,9 @@ jobs:
106106
zstd -v -T0 -6 --rm build/image-*.tar
107107
108108
- name: Upload Docker Image
109-
uses: actions/upload-artifact@v3
109+
uses: actions/upload-artifact@v4
110110
with:
111-
name: images
111+
name: image-${{ matrix.image }}
112112
path: build/image-*
113113

114114
build:
@@ -908,10 +908,11 @@ jobs:
908908
path: build
909909

910910
- name: Download images
911-
uses: actions/download-artifact@v3
911+
uses: actions/download-artifact@v4
912912
with:
913-
name: images
913+
pattern: image-*
914914
path: build
915+
merge-multiple: true
915916

916917
- name: Load Docker Images
917918
run: |

0 commit comments

Comments
 (0)