diff --git a/.github/workflows/build-kata-static-tarball-amd64.yaml b/.github/workflows/build-kata-static-tarball-amd64.yaml index 23891aae82..8858ec5126 100644 --- a/.github/workflows/build-kata-static-tarball-amd64.yaml +++ b/.github/workflows/build-kata-static-tarball-amd64.yaml @@ -109,9 +109,9 @@ jobs: TARGET_BRANCH: ${{ inputs.target-branch }} - name: store-artifact ${{ matrix.asset }} - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: - name: kata-artifacts-amd64${{ inputs.tarball-suffix }} + name: kata-artifacts-amd64-${{ matrix.asset }}${{ inputs.tarball-suffix }} path: kata-build/kata-static-${{ matrix.asset }}.tar.xz retention-days: 15 if-no-files-found: error @@ -130,15 +130,16 @@ jobs: env: TARGET_BRANCH: ${{ inputs.target-branch }} - name: get-artifacts - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: - name: kata-artifacts-amd64${{ inputs.tarball-suffix }} + pattern: kata-artifacts-amd64-*${{ inputs.tarball-suffix }} path: kata-artifacts + merge-multiple: true - name: merge-artifacts run: | ./tools/packaging/kata-deploy/local-build/kata-deploy-merge-builds.sh kata-artifacts versions.yaml - name: store-artifacts - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: kata-static-tarball-amd64${{ inputs.tarball-suffix }} path: kata-static.tar.xz diff --git a/.github/workflows/build-kata-static-tarball-arm64.yaml b/.github/workflows/build-kata-static-tarball-arm64.yaml index 515dd69690..994e5add99 100644 --- a/.github/workflows/build-kata-static-tarball-arm64.yaml +++ b/.github/workflows/build-kata-static-tarball-arm64.yaml @@ -81,9 +81,9 @@ jobs: TARGET_BRANCH: ${{ inputs.target-branch }} - name: store-artifact ${{ matrix.asset }} - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: - name: kata-artifacts-arm64${{ inputs.tarball-suffix }} + name: kata-artifacts-arm64-${{ matrix.asset }}${{ inputs.tarball-suffix }} path: kata-build/kata-static-${{ matrix.asset }}.tar.xz retention-days: 15 if-no-files-found: error @@ -106,15 +106,16 @@ jobs: env: TARGET_BRANCH: ${{ inputs.target-branch }} - name: get-artifacts - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: - name: kata-artifacts-arm64${{ inputs.tarball-suffix }} + pattern: kata-artifacts-arm64-*${{ inputs.tarball-suffix }} path: kata-artifacts + merge-multiple: true - name: merge-artifacts run: | ./tools/packaging/kata-deploy/local-build/kata-deploy-merge-builds.sh kata-artifacts versions.yaml - name: store-artifacts - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: kata-static-tarball-arm64${{ inputs.tarball-suffix }} path: kata-static.tar.xz diff --git a/.github/workflows/build-kata-static-tarball-ppc64le.yaml b/.github/workflows/build-kata-static-tarball-ppc64le.yaml index da5f4164ee..82d807cf72 100644 --- a/.github/workflows/build-kata-static-tarball-ppc64le.yaml +++ b/.github/workflows/build-kata-static-tarball-ppc64le.yaml @@ -83,9 +83,9 @@ jobs: TARGET_BRANCH: ${{ inputs.target-branch }} - name: store-artifact ${{ matrix.asset }} - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: - name: kata-artifacts-ppc64le${{ inputs.tarball-suffix }} + name: kata-artifacts-ppc64le-${{ matrix.asset }}${{ inputs.tarball-suffix }} path: kata-build/kata-static-${{ matrix.asset }}.tar.xz retention-days: 1 if-no-files-found: error @@ -108,15 +108,16 @@ jobs: env: TARGET_BRANCH: ${{ inputs.target-branch }} - name: get-artifacts - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: - name: kata-artifacts-ppc64le${{ inputs.tarball-suffix }} + pattern: kata-artifacts-ppc64le-*${{ inputs.tarball-suffix }} path: kata-artifacts + merge-multiple: true - name: merge-artifacts run: | ./tools/packaging/kata-deploy/local-build/kata-deploy-merge-builds.sh kata-artifacts versions.yaml - name: store-artifacts - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: kata-static-tarball-ppc64le${{ inputs.tarball-suffix }} path: kata-static.tar.xz diff --git a/.github/workflows/build-kata-static-tarball-s390x.yaml b/.github/workflows/build-kata-static-tarball-s390x.yaml index 914ec18faf..c40d9e4ce6 100644 --- a/.github/workflows/build-kata-static-tarball-s390x.yaml +++ b/.github/workflows/build-kata-static-tarball-s390x.yaml @@ -84,9 +84,9 @@ jobs: TARGET_BRANCH: ${{ inputs.target-branch }} - name: store-artifact ${{ matrix.asset }} - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: - name: kata-artifacts-s390x${{ inputs.tarball-suffix }} + name: kata-artifacts-s390x-${{ matrix.asset }}${{ inputs.tarball-suffix }} path: kata-build/kata-static-${{ matrix.asset }}.tar.xz retention-days: 15 if-no-files-found: error @@ -101,10 +101,11 @@ jobs: - uses: actions/checkout@v4 - name: get-artifacts - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: - name: kata-artifacts-s390x${{ inputs.tarball-suffix }} + pattern: kata-artifacts-s390x-*${{ inputs.tarball-suffix }} path: kata-artifacts + merge-multiple: true - name: Place a host key document run: | @@ -128,7 +129,7 @@ jobs: HKD_PATH: "host-key-document" - name: store-artifact boot-image-se - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: kata-artifacts-s390x${{ inputs.tarball-suffix }} path: kata-build/kata-static-boot-image-se.tar.xz @@ -152,15 +153,16 @@ jobs: env: TARGET_BRANCH: ${{ inputs.target-branch }} - name: get-artifacts - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: - name: kata-artifacts-s390x${{ inputs.tarball-suffix }} + pattern: kata-artifacts-s390x-*${{ inputs.tarball-suffix }} path: kata-artifacts + merge-multiple: true - name: merge-artifacts run: | ./tools/packaging/kata-deploy/local-build/kata-deploy-merge-builds.sh kata-artifacts versions.yaml - name: store-artifacts - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: kata-static-tarball-s390x${{ inputs.tarball-suffix }} path: kata-static.tar.xz