From d38942bfac4fe06230f2b17ceed781a502479e69 Mon Sep 17 00:00:00 2001 From: CrazyMax <1951866+crazy-max@users.noreply.github.com> Date: Tue, 6 Feb 2024 18:38:15 +0100 Subject: [PATCH] bump actions/upload-artifact and actions/download-artifact to 4 Signed-off-by: CrazyMax <1951866+crazy-max@users.noreply.github.com> --- .github/workflows/.build.yml | 9 +++++---- .github/workflows/.release.yml | 9 +++++---- 2 files changed, 10 insertions(+), 8 deletions(-) diff --git a/.github/workflows/.build.yml b/.github/workflows/.build.yml index 48f2049..a3d8088 100644 --- a/.github/workflows/.build.yml +++ b/.github/workflows/.build.yml @@ -108,9 +108,9 @@ jobs: make -C pkg/${{ inputs.name }} run-verify-${{ matrix.pkg }} - name: Upload artifacts - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: - name: ${{ inputs.name }} + name: build-pkg-${{ inputs.name }}-${{ matrix.pkg }} path: ./pkg/${{ inputs.name }}/bin/* if-no-files-found: error retention-days: 1 @@ -136,10 +136,11 @@ jobs: version: latest - name: Download binaries - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: - name: ${{ inputs.name }} path: ./pkg/${{ inputs.name }}/bin + pattern: build-pkg-* + merge-multiple: true - name: Generate metadata run: | diff --git a/.github/workflows/.release.yml b/.github/workflows/.release.yml index f2cae76..965bb2f 100644 --- a/.github/workflows/.release.yml +++ b/.github/workflows/.release.yml @@ -101,9 +101,9 @@ jobs: make -C pkg/${{ inputs.name }} run-verify-${{ matrix.pkg }} - name: Upload artifacts - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: - name: ${{ inputs.name }} + name: release-pkg-${{ inputs.name }}-${{ matrix.pkg }} path: ./pkg/${{ inputs.name }}/bin/* if-no-files-found: ignore retention-days: 1 @@ -124,10 +124,11 @@ jobs: done - name: Download artifacts - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: - name: ${{ inputs.name }} path: ./pkg/${{ inputs.name }}/bin + pattern: release-pkg-* + merge-multiple: true - name: Resolve metadata run: |