From b0796c38ecb62e95024ea9e128573bfe27118834 Mon Sep 17 00:00:00 2001 From: Andrew Walbran Date: Tue, 19 Dec 2023 14:44:32 +0000 Subject: [PATCH] Update to upload-artifact and download-artifact v4. (#55) --- .github/workflows/package.yml | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/.github/workflows/package.yml b/.github/workflows/package.yml index aa6a7af..cbc8177 100644 --- a/.github/workflows/package.yml +++ b/.github/workflows/package.yml @@ -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: @@ -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 @@ -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