From d59817526bee1fd8ec9593cb52ce09340232cd42 Mon Sep 17 00:00:00 2001 From: wpbonelli Date: Thu, 16 Jan 2025 12:51:09 -0500 Subject: [PATCH] ci: update deploy-pages version (#2146) follow the migration guide --- .github/workflows/ci.yml | 2 +- .github/workflows/compilers.yml | 5 +++-- .github/workflows/docs.yml | 3 ++- 3 files changed, 6 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index b5a2735c6a6..c7c8530bb99 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -547,5 +547,5 @@ jobs: if: failure() uses: actions/upload-artifact@v4 with: - name: failed-${{ matrix.os }} + name: failed-${{ matrix.os }}-ext path: modflow6/autotest/.failed diff --git a/.github/workflows/compilers.yml b/.github/workflows/compilers.yml index 2d65b3372e2..4e1fc6afe0b 100644 --- a/.github/workflows/compilers.yml +++ b/.github/workflows/compilers.yml @@ -180,7 +180,7 @@ jobs: if: success() || failure() uses: actions/upload-artifact@v4 with: - name: compat + name: compat-${{ matrix.os }}-${{ matrix.compiler }}-${{ matrix.version }} path: compat/*.csv report: @@ -207,8 +207,9 @@ jobs: - name: Download reports uses: actions/download-artifact@v4 with: - name: compat + pattern: compat-* path: .github/compat/new + merge-multiple: true - name: Concatenate reports working-directory: .github/compat diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index f48a9b53262..36098848735 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -261,6 +261,7 @@ jobs: if: github.ref == 'refs/heads/develop' && github.event_name == 'push' needs: doxygen_build permissions: + actions: read pages: write id-token: write environment: @@ -270,4 +271,4 @@ jobs: steps: - name: Deploy to GitHub Pages id: deployment - uses: actions/deploy-pages@v3 + uses: actions/deploy-pages@v4