Skip to content

Commit

Permalink
Merge pull request #441 from alsuren/artifact
Browse files Browse the repository at this point in the history
Fix for upload-artifact v4.
  • Loading branch information
qwandor authored Dec 18, 2023
2 parents 35379b9 + d4d21ab commit bd7a6bb
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions .github/workflows/package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ jobs:
- name: Upload packages
uses: actions/upload-artifact@v4
with:
name: debian-packages
name: debian-packages-${{ matrix.target }}
path: target/${{ matrix.target }}/debian/

release:
Expand All @@ -95,8 +95,6 @@ jobs:
steps:
- name: Download packages
uses: actions/download-artifact@v4
with:
name: debian-packages
- name: Parse tag for package and version
id: parse_tag
uses: actions-ecosystem/action-regex-match@v2
Expand All @@ -117,5 +115,5 @@ jobs:
uses: shogo82148/actions-upload-release-asset@v1
with:
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: "${{ steps.parse_tag.outputs.group1 }}_*.deb"
asset_path: "debian-packages-*/${{ steps.parse_tag.outputs.group1 }}_*.deb"
asset_content_type: application/vnd.debian.binary-package

0 comments on commit bd7a6bb

Please sign in to comment.