Skip to content

Commit

Permalink
Update to upload-artifact and download-artifact v4. (#55)
Browse files Browse the repository at this point in the history
  • Loading branch information
qwandor authored Dec 19, 2023
1 parent 369c3cf commit b0796c3
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions .github/workflows/package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -69,9 +69,9 @@ jobs:
run: cargo deb --target ${{ matrix.target }} --no-build

- name: Upload package
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: debian-packages
name: debian-package-${{ matrix.target }}
path: target/${{ matrix.target }}/debian/

release:
Expand All @@ -81,9 +81,7 @@ jobs:
if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags/')
steps:
- name: Download packages
uses: actions/download-artifact@v3
with:
name: debian-packages
uses: actions/download-artifact@v4
- name: Parse tag for version
id: parse_tag
uses: actions-ecosystem/action-regex-match@v2
Expand All @@ -104,5 +102,5 @@ jobs:
uses: shogo82148/actions-upload-release-asset@v1
with:
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: "aarch64-esr-decoder_*.deb"
asset_path: "debian-package-*/aarch64-esr-decoder_*.deb"
asset_content_type: application/vnd.debian.binary-package

0 comments on commit b0796c3

Please sign in to comment.