From 7929592b96e2e4e2e0150a890048f612b623fb7d Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 16 Jan 2024 20:52:30 +0000 Subject: [PATCH] build(deps): bump actions/upload-artifact from 3 to 4 Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 3 to 4. - [Release notes](https://github.com/actions/upload-artifact/releases) - [Commits](https://github.com/actions/upload-artifact/compare/v3...v4) --- updated-dependencies: - dependency-name: actions/upload-artifact dependency-type: direct:production update-type: version-update:semver-major ... Adds matrix os and sandboxed build to test results upload so artifacts are unique. Signed-off-by: dependabot[bot] (cherry picked from commit 18b0d236cb7eb247a0567469465c7086147f2eb9) Signed-off-by: Austin Vazquez --- .github/workflows/ci.yml | 10 +++++----- .github/workflows/fuzz.yml | 2 +- .github/workflows/nightly.yml | 12 ++++++------ .github/workflows/release.yml | 4 ++-- .github/workflows/scorecards.yml | 2 +- 5 files changed, 15 insertions(+), 15 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 02207986ce..45bd499777 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -375,10 +375,10 @@ jobs: } critest.exe --runtime-endpoint=npipe://.//pipe//containerd-containerd --test-images-file='${{env.CRI_TEST_IMAGES}}' --report-dir='${{github.workspace}}/critestreport' $skip - - uses: actions/upload-artifact@v3 + - uses: actions/upload-artifact@v4 if: always() with: - name: TestResults ${{ matrix.os }} + name: TestResults ${{ matrix.os }} ${{ matrix.enable_cri_sandboxes }} path: | ${{github.workspace}}/*-junit.xml ${{github.workspace}}/*-gotest.json @@ -529,10 +529,10 @@ jobs: sudo lsmod sudo dmesg -T -f kern - - uses: actions/upload-artifact@v3 + - uses: actions/upload-artifact@v4 if: always() with: - name: TestResults ${{ matrix.runtime }} ${{matrix.runc}} + name: TestResults ${{ matrix.runtime }} ${{matrix.runc}} ${{ matrix.os }} ${{ matrix.enable_cri_sandboxes }} path: | *-junit.xml *-gotest.json @@ -563,7 +563,7 @@ jobs: if: always() - run: script/test/test2annotation.sh *-gotest.json if: always() - - uses: actions/upload-artifact@v3 + - uses: actions/upload-artifact@v4 if: always() with: name: TestResults MacOS diff --git a/.github/workflows/fuzz.yml b/.github/workflows/fuzz.yml index 38f2080e02..45718a25ac 100644 --- a/.github/workflows/fuzz.yml +++ b/.github/workflows/fuzz.yml @@ -26,7 +26,7 @@ jobs: language: go continue-on-error: true - name: Upload Crash - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 if: failure() && steps.build.outcome == 'success' with: name: artifacts diff --git a/.github/workflows/nightly.yml b/.github/workflows/nightly.yml index 9f5eb26887..0076ea07e6 100644 --- a/.github/workflows/nightly.yml +++ b/.github/workflows/nightly.yml @@ -104,31 +104,31 @@ jobs: # - name: Upload artifacts (linux_amd64) - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: linux_amd64 path: src/github.com/containerd/containerd/bin_amd64 - name: Upload artifacts (linux_arm64) - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: linux_arm64 path: src/github.com/containerd/containerd/bin_arm64 - name: Upload artifacts (linux_s390x) - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: linux_s390x path: src/github.com/containerd/containerd/bin_s390x - name: Upload artifacts (linux_ppc64le) - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: linux_ppc64le path: src/github.com/containerd/containerd/bin_ppc64le - name: Upload artifacts (linux_riscv64) - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: linux_riscv64 path: src/github.com/containerd/containerd/bin_riscv64 @@ -165,7 +165,7 @@ jobs: make binaries - name: Upload artifacts (windows_amd64) - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: windows_amd64 path: src/github.com/containerd/containerd/bin/ diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 8175eaba29..4db9827d80 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -57,7 +57,7 @@ jobs: working-directory: src/github.com/containerd/containerd - name: Save release notes - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: containerd-release-notes path: src/github.com/containerd/containerd/release-notes.md @@ -127,7 +127,7 @@ jobs: env: PLATFORM: ${{ matrix.dockerfile-platform }} - name: Save Artifacts - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: release-tars-${{env.PLATFORM_CLEAN}} path: src/github.com/containerd/containerd/releases/*.tar.gz* diff --git a/.github/workflows/scorecards.yml b/.github/workflows/scorecards.yml index f37b0e4c26..4c6d8c0328 100644 --- a/.github/workflows/scorecards.yml +++ b/.github/workflows/scorecards.yml @@ -41,7 +41,7 @@ jobs: # Upload the results as artifacts (optional). Commenting out will disable uploads of run results in SARIF # format to the repository Actions tab. - name: "Upload artifact" - uses: actions/upload-artifact@a8a3f3ad30e3422c9c7b888a15615d19a852ae32 # tag=v3.1.3 + uses: actions/upload-artifact@1eb3cb2b3e0f29609092a73eb033bb759a334595 # tag=v4.1.0 with: name: SARIF file path: results.sarif