diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 0302b4a..036598f 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -169,7 +169,7 @@ jobs: run: go tool cover -html=coverage.out -o coverage.html - name: Upload coverage HTML - uses: actions/upload-artifact@v4 + uses: actions/upload-artifact@v7 with: name: coverage-report path: coverage.html @@ -200,7 +200,7 @@ jobs: run: go build -v -o bin/${{ matrix.target }} ./${{ matrix.path }} - name: Upload binary - uses: actions/upload-artifact@v4 + uses: actions/upload-artifact@v7 with: name: ${{ matrix.target }} path: bin/${{ matrix.target }} diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 0a93e61..b14ed8f 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -128,14 +128,14 @@ jobs: subject-path: 'bin/*' - name: Upload binaries artifact - uses: actions/upload-artifact@v4 + uses: actions/upload-artifact@v7 with: name: binaries path: bin/ retention-days: 1 - name: Upload SBOMs artifact - uses: actions/upload-artifact@v4 + uses: actions/upload-artifact@v7 with: name: sboms path: | @@ -285,7 +285,7 @@ jobs: echo "${{ steps.meta.outputs.tags }}" > /tmp/digests/${{ matrix.image }}-tags - name: Upload digest artifact - uses: actions/upload-artifact@v4 + uses: actions/upload-artifact@v7 with: name: digest-${{ matrix.image }} path: /tmp/digests/ @@ -395,7 +395,7 @@ jobs: output: '${{ matrix.image }}-trivy-results.sarif' - name: Upload Trivy results - uses: actions/upload-artifact@v4 + uses: actions/upload-artifact@v7 with: name: trivy-${{ matrix.image }} path: ${{ matrix.image }}-trivy-results.sarif @@ -452,7 +452,7 @@ jobs: --url "https://github.com/${{ github.repository }}/releases/download/${{ needs.prepare.outputs.full_version }}" - name: Upload Helm artifacts - uses: actions/upload-artifact@v4 + uses: actions/upload-artifact@v7 with: name: helm path: |