diff --git a/.github/workflows/airgap.yaml b/.github/workflows/airgap.yaml index 5ae22c56a8f..8e622080ac4 100644 --- a/.github/workflows/airgap.yaml +++ b/.github/workflows/airgap.yaml @@ -40,7 +40,7 @@ jobs: ./scripts/package-airgap ${{ matrix.arch }} - name: Upload Artifacts - uses: actions/upload-artifact@v4 + uses: actions/upload-artifact@v6 with: name: images-${{ matrix.arch }} path: dist/artifacts/k3s-airgap-images-${{ matrix.arch }}.* diff --git a/.github/workflows/build-k3s.yaml b/.github/workflows/build-k3s.yaml index 4551a13a49e..eeef200cc74 100644 --- a/.github/workflows/build-k3s.yaml +++ b/.github/workflows/build-k3s.yaml @@ -128,7 +128,7 @@ jobs: mv ./build/out/data-linux.tar.zst ./dist/artifacts/data-linux${{ env.ARCH_EXT }}.tar.zst - name: "Upload K3s Artifacts" - uses: actions/upload-artifact@v5 + uses: actions/upload-artifact@v6 with: name: k3s${{ env.ARCH_EXT }} path: dist/artifacts/ diff --git a/.github/workflows/e2e.yaml b/.github/workflows/e2e.yaml index 7fc9286ed37..91505825789 100644 --- a/.github/workflows/e2e.yaml +++ b/.github/workflows/e2e.yaml @@ -118,7 +118,7 @@ jobs: cd tests/e2e/${{ matrix.etest }} go test -timeout=45m ./${{ matrix.etest }}_test.go -test.v -ginkgo.v -ci -local - name: On Failure, Upload Journald Logs - uses: actions/upload-artifact@v5 + uses: actions/upload-artifact@v6 if: ${{ failure() }} with: name: e2e-${{ matrix.etest }}-logs @@ -156,7 +156,7 @@ jobs: mkdir -p ./dist/artifacts go test -c -ldflags="-w -s" -o ./dist/artifacts ./tests/docker/... - name: Upload Go Tests - uses: actions/upload-artifact@v5 + uses: actions/upload-artifact@v6 with: name: docker-go-tests-${{ matrix.arch }} path: ./dist/artifacts/*.test diff --git a/.github/workflows/integration.yaml b/.github/workflows/integration.yaml index 2b264fd7417..972a532ed72 100644 --- a/.github/workflows/integration.yaml +++ b/.github/workflows/integration.yaml @@ -66,7 +66,7 @@ jobs: cd tests/integration/${{ matrix.itest }} sudo -E env "PATH=$PATH" go test -timeout=45m ./... -run Integration -ginkgo.v -test.v - name: On Failure, Upload Logs - uses: actions/upload-artifact@v5 + uses: actions/upload-artifact@v6 if: ${{ failure() }} with: name: integration-${{ matrix.itest }}-logs diff --git a/.github/workflows/scorecard.yml b/.github/workflows/scorecard.yml index 5ed37ca121d..c72aeb998e6 100644 --- a/.github/workflows/scorecard.yml +++ b/.github/workflows/scorecard.yml @@ -65,7 +65,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@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0 + uses: actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f # v6.0.0 with: name: SARIF file path: results.sarif diff --git a/.github/workflows/trivy-scan.yml b/.github/workflows/trivy-scan.yml index 593e045cd2f..e54e3edd6a9 100644 --- a/.github/workflows/trivy-scan.yml +++ b/.github/workflows/trivy-scan.yml @@ -69,7 +69,7 @@ jobs: TRIVY_SHOW_SUPPRESSED: true - name: Upload Trivy Report - uses: actions/upload-artifact@v5 + uses: actions/upload-artifact@v6 with: name: trivy-report path: trivy-report.txt diff --git a/.github/workflows/trivy-trigger.yml b/.github/workflows/trivy-trigger.yml index a7d35a36555..f58652abdd4 100644 --- a/.github/workflows/trivy-trigger.yml +++ b/.github/workflows/trivy-trigger.yml @@ -61,7 +61,7 @@ jobs: mv k3s.tar pr-context/k3s.tar - name: Upload PR context artifact - uses: actions/upload-artifact@v5 + uses: actions/upload-artifact@v6 with: name: pr-context-for-scan path: pr-context/