Skip to content

Commit

Permalink
fixup ci with new upload-artifact version
Browse files Browse the repository at this point in the history
  • Loading branch information
Mic92 committed Nov 18, 2024
1 parent 264c12e commit 76b05c8
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
install -D ./result/tarballs/*.tar.gz ./dist/patchelf-$(cat version).tar.gz
- uses: actions/upload-artifact@v4
with:
name: patchelf
name: patchelf-tarball
path: dist/*

build_windows:
Expand All @@ -39,7 +39,7 @@ jobs:
install -D ./result-1/bin/patchelf.exe ./dist/patchelf-win64-$(cat version).exe
- uses: actions/upload-artifact@v4
with:
name: patchelf
name: patchelf-windows
path: dist/*

test_windows:
Expand All @@ -50,7 +50,7 @@ jobs:
- uses: actions/checkout@v3
- uses: actions/download-artifact@v4
with:
name: patchelf
name: patchelf-windows
path: dist
- name: Show binaries
run: dir .\\dist
Expand Down Expand Up @@ -85,7 +85,7 @@ jobs:
- uses: actions/download-artifact@v4
with:
name: patchelf
name: patchelf-tarball
path: dist
- name: Build binaries
env:
Expand Down Expand Up @@ -122,7 +122,7 @@ jobs:
docker run --platform "$DOCKER_PLATFORM" -v $(pwd):/gha ${{ matrix.platform }}/debian:unstable-slim sh -ec "cd /gha && sh ./check.sh"
- uses: actions/upload-artifact@v4
with:
name: patchelf
name: patchelf-${matrix.platform}
path: dist/*

publish:
Expand All @@ -133,7 +133,8 @@ jobs:
steps:
- uses: actions/download-artifact@v4
with:
name: patchelf
pattern: patchelf-*
merge-multiple: true
path: dist
- name: Upload binaries to release
uses: svenstaro/upload-release-action@v2
Expand Down

0 comments on commit 76b05c8

Please sign in to comment.