mirror of https://github.com/k3s-io/k3s.git
				
				
				
			Bump actions/upload-artifact from 4 to 5 (#13104)
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 4 to 5. - [Release notes](https://github.com/actions/upload-artifact/releases) - [Commits](https://github.com/actions/upload-artifact/compare/v4...v5) --- updated-dependencies: - dependency-name: actions/upload-artifact dependency-version: '5' dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>pull/13139/head
							parent
							
								
									72ca761529
								
							
						
					
					
						commit
						2459bf7c84
					
				| 
						 | 
				
			
			@ -120,7 +120,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@v4
 | 
			
		||||
      uses: actions/upload-artifact@v5
 | 
			
		||||
      with:
 | 
			
		||||
        name: k3s${{ env.ARCH_EXT }}
 | 
			
		||||
        path: dist/artifacts/
 | 
			
		||||
| 
						 | 
				
			
			@ -96,7 +96,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@v4
 | 
			
		||||
        uses: actions/upload-artifact@v5
 | 
			
		||||
        if: ${{ failure() }}
 | 
			
		||||
        with:
 | 
			
		||||
          name: e2e-${{ matrix.etest }}-logs
 | 
			
		||||
| 
						 | 
				
			
			@ -134,7 +134,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@v4
 | 
			
		||||
      uses: actions/upload-artifact@v5
 | 
			
		||||
      with:
 | 
			
		||||
        name: docker-go-tests-${{ matrix.arch }}
 | 
			
		||||
        path: ./dist/artifacts/*.test
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -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@v4
 | 
			
		||||
      uses: actions/upload-artifact@v5
 | 
			
		||||
      if: ${{ failure() }}
 | 
			
		||||
      with:
 | 
			
		||||
        name: integration-${{ matrix.itest }}-logs
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -160,7 +160,7 @@ jobs:
 | 
			
		|||
        run: sha256sum dist/artifacts/k3s-airgap-images-${{ matrix.arch }}* | sed 's|dist/artifacts/||' > dist/artifacts/k3s-airgap-images-${{ matrix.arch }}.sha256sum
 | 
			
		||||
 | 
			
		||||
      - name: Upload Airgap sha256sum
 | 
			
		||||
        uses: actions/upload-artifact@v4
 | 
			
		||||
        uses: actions/upload-artifact@v5
 | 
			
		||||
        with:
 | 
			
		||||
          name: k3s-airgap-images-${{ matrix.arch }}.sha256sum
 | 
			
		||||
          path: dist/artifacts/k3s-airgap-images-${{ matrix.arch }}.sha256sum
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -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@4cec3d8aa04e39d1a68397de0c4cd6fb9dce8ec1 # v4.6.1
 | 
			
		||||
        uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0
 | 
			
		||||
        with:
 | 
			
		||||
          name: SARIF file
 | 
			
		||||
          path: results.sarif
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -69,7 +69,7 @@ jobs:
 | 
			
		|||
          TRIVY_SHOW_SUPPRESSED: true
 | 
			
		||||
      
 | 
			
		||||
      - name: Upload Trivy Report
 | 
			
		||||
        uses: actions/upload-artifact@v4
 | 
			
		||||
        uses: actions/upload-artifact@v5
 | 
			
		||||
        with:
 | 
			
		||||
          name: trivy-report
 | 
			
		||||
          path: trivy-report.txt  
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -61,7 +61,7 @@ jobs:
 | 
			
		|||
          mv k3s.tar pr-context/k3s.tar
 | 
			
		||||
 | 
			
		||||
      - name: Upload PR context artifact
 | 
			
		||||
        uses: actions/upload-artifact@v4
 | 
			
		||||
        uses: actions/upload-artifact@v5
 | 
			
		||||
        with:
 | 
			
		||||
          name: pr-context-for-scan
 | 
			
		||||
          path: pr-context/
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue