diff --git a/.github/workflows/eslint.yml b/.github/workflows/eslint.yml index e2f95f8..a319258 100644 --- a/.github/workflows/eslint.yml +++ b/.github/workflows/eslint.yml @@ -57,13 +57,13 @@ jobs: run: cat results.sarif # Uploads results.sarif to GitHub repository using the upload-sarif action - - uses: github/codeql-action/upload-sarif@v2 + - uses: github/codeql-action/upload-sarif@v3 with: # Path to SARIF file relative to the root of the repository sarif_file: results.sarif category: ESLint - - uses: CatChen/eslint-suggestion-action@v2 + - uses: CatChen/eslint-suggestion-action@v3 with: request-changes: true fail-check: false diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 4ef7d50..7ddf989 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -213,14 +213,17 @@ jobs: cache-from: type=gha cache-to: type=gha,mode=max - name: Export digest + id: digest-prep run: | mkdir -p /tmp/digests digest="${{ steps.docker_build.outputs.digest }}" - touch "/tmp/digests/${digest#sha256:}" + echo "manifest-hash=${digest#sha256:}" >> "$GITHUB_OUTPUT" + touch "/tmp/digests/${digest#sha256:}" + - name: Upload digest - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: - name: digests + name: docker-digests-${{ steps.digest-prep.outputs.manifest-hash }} path: /tmp/digests/* if-no-files-found: error retention-days: 1 @@ -232,10 +235,11 @@ jobs: needs: [docker, test] steps: - name: Download digests - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: - name: digests path: /tmp/digests + pattern: docker-digests-* + merge-multiple: true - name: Set up Docker Buildx uses: docker/setup-buildx-action@v3