Skip to content

Commit 96dfa5c

Browse files
committed
fixup ci with new upload-artifact version
1 parent 264c12e commit 96dfa5c

File tree

1 file changed

+7
-6
lines changed

1 file changed

+7
-6
lines changed

.github/workflows/publish.yml

+7-6
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
install -D ./result/tarballs/*.tar.gz ./dist/patchelf-$(cat version).tar.gz
2323
- uses: actions/upload-artifact@v4
2424
with:
25-
name: patchelf
25+
name: patchelf-tarball
2626
path: dist/*
2727

2828
build_windows:
@@ -39,7 +39,7 @@ jobs:
3939
install -D ./result-1/bin/patchelf.exe ./dist/patchelf-win64-$(cat version).exe
4040
- uses: actions/upload-artifact@v4
4141
with:
42-
name: patchelf
42+
name: patchelf-windows
4343
path: dist/*
4444

4545
test_windows:
@@ -50,7 +50,7 @@ jobs:
5050
- uses: actions/checkout@v3
5151
- uses: actions/download-artifact@v4
5252
with:
53-
name: patchelf
53+
name: patchelf-windows
5454
path: dist
5555
- name: Show binaries
5656
run: dir .\\dist
@@ -85,7 +85,7 @@ jobs:
8585
8686
- uses: actions/download-artifact@v4
8787
with:
88-
name: patchelf
88+
name: patchelf-tarball
8989
path: dist
9090
- name: Build binaries
9191
env:
@@ -122,7 +122,7 @@ jobs:
122122
docker run --platform "$DOCKER_PLATFORM" -v $(pwd):/gha ${{ matrix.platform }}/debian:unstable-slim sh -ec "cd /gha && sh ./check.sh"
123123
- uses: actions/upload-artifact@v4
124124
with:
125-
name: patchelf
125+
name: patchelf-${{ matrix.platform }}
126126
path: dist/*
127127

128128
publish:
@@ -133,7 +133,8 @@ jobs:
133133
steps:
134134
- uses: actions/download-artifact@v4
135135
with:
136-
name: patchelf
136+
pattern: patchelf-*
137+
merge-multiple: true
137138
path: dist
138139
- name: Upload binaries to release
139140
uses: svenstaro/upload-release-action@v2

0 commit comments

Comments
 (0)