From 177d750222b758f5f5769c727340d12bfcd79488 Mon Sep 17 00:00:00 2001 From: Greg Hudson Date: Mon, 7 Oct 2024 22:22:40 -0400 Subject: [PATCH] Update upload action versions in CI scripts Increment the versions of the upload actions in doc.yml and cifuzz.yml as documented in: https://github.blog/news-insights/product-news/get-started-with-v4-of-github-actions-artifacts/ https://github.blog/changelog/2024-01-12-code-scanning-deprecation-of-codeql-action-v2/ Also fix the conditional in cifuzz.yml to react to changes in itself, not in build.yml. --- .github/workflows/cifuzz.yml | 4 ++-- .github/workflows/doc.yml | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/cifuzz.yml b/.github/workflows/cifuzz.yml index 9d29aad0ca..8e92a19e5f 100644 --- a/.github/workflows/cifuzz.yml +++ b/.github/workflows/cifuzz.yml @@ -1,7 +1,7 @@ name: CIFuzz on: - pull_request: {paths: [src/**, .github/workflows/build.yml]} + pull_request: {paths: [src/**, .github/workflows/cifuzz.yml]} permissions: {} jobs: @@ -31,7 +31,7 @@ jobs: path: ./out/artifacts - name: Upload Sarif if: always() && steps.build.outcome == 'success' - 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: cifuzz-sarif/results.sarif diff --git a/.github/workflows/doc.yml b/.github/workflows/doc.yml index f7f6b6b09f..5b291c5b7b 100644 --- a/.github/workflows/doc.yml +++ b/.github/workflows/doc.yml @@ -34,7 +34,7 @@ jobs: cd src/doc make -f Makefile.in SPHINX_ARGS=-W htmlsrc - name: Upload HTML - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v4 with: name: html path: doc/html -- 2.47.2