From: Greg Hudson Date: Tue, 8 Oct 2024 02:22:40 +0000 (-0400) Subject: Update upload action versions in CI scripts X-Git-Tag: krb5-1.22-beta1~72 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F1377%2Fhead;p=thirdparty%2Fkrb5.git 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. --- 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