diff --git a/.github/workflows/.build.yml b/.github/workflows/.build.yml index dd81b07..09bb494 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 2d30a4f..03cd33a 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: |