From 8259b6df5470cd0cb43ad483b242eadcc2c24ced Mon Sep 17 00:00:00 2001 From: Ben Deane Date: Mon, 29 Jun 2026 09:14:01 -0600 Subject: [PATCH] :arrow_up: Update ghpages workflow Problem: - GH pages workflow changed upstream to remove the cache restore/save split. Solution: - Update to upstream version. --- .github/workflows/asciidoctor-ghpages.yml | 13 ++----------- 1 file changed, 2 insertions(+), 11 deletions(-) diff --git a/.github/workflows/asciidoctor-ghpages.yml b/.github/workflows/asciidoctor-ghpages.yml index bafcd67..8b23fcb 100644 --- a/.github/workflows/asciidoctor-ghpages.yml +++ b/.github/workflows/asciidoctor-ghpages.yml @@ -49,26 +49,17 @@ jobs: - name: Restore CPM cache env: cache-name: cpm-cache-0 - id: cpm-cache-restore - uses: actions/cache/restore@55cc8345863c7cc4c66a329aec7e433d2d1c52a9 # v6.1.0 + uses: actions/cache@55cc8345863c7cc4c66a329aec7e433d2d1c52a9 # v6.1.0 with: path: ~/cpm-cache key: ${{runner.os}}-${{env.cache-name}}-${{ hashFiles('**/CMakeLists.txt', 'cmake/**') }} restore-keys: | + ${{runner.os}}-${{env.cache-name}}-${{ hashFiles('**/CMakeLists.txt', 'cmake/**') }} ${{runner.os}}-${{env.cache-name}}- - name: Configure CMake run: cmake -Bbuild -DCPM_SOURCE_CACHE=~/cpm-cache - - name: Save CPM cache - env: - cache-name: cpm-cache-0 - if: steps.cpm-cache-restore.outputs.cache-hit != 'true' - uses: actions/cache/save@55cc8345863c7cc4c66a329aec7e433d2d1c52a9 # v6.1.0 - with: - path: ~/cpm-cache - key: ${{runner.os}}-${{env.cache-name}}-${{ hashFiles('**/CMakeLists.txt', 'cmake/**') }} - - name: Build documentation run: | test "$(cmake --build build -v -t docs | grep -c ERROR)" == 0