From d7d9e059330fc8711563b404f6a3fa21aa6f3f73 Mon Sep 17 00:00:00 2001 From: squidfunk Date: Fri, 24 Jun 2022 14:56:33 +0200 Subject: [PATCH] Debug GitHub Actions workflow --- .github/workflows/build.yml | 2 +- .github/workflows/documentation.yml | 11 ++++++++++- 2 files changed, 11 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index aa00aa25a..9449e5bb8 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -47,8 +47,8 @@ jobs: uses: actions/cache@v3 id: cache with: - path: node_modules key: ${{ runner.os }}-${{ hashFiles('**/package-lock.json') }} + path: node_modules - name: Set up Node.js dependencies if: steps.cache.outputs.cache-hit != 'true' diff --git a/.github/workflows/documentation.yml b/.github/workflows/documentation.yml index b2e76bcbd..480273591 100644 --- a/.github/workflows/documentation.yml +++ b/.github/workflows/documentation.yml @@ -44,12 +44,21 @@ jobs: with: python-version: ${{ env.PYTHON_VERSION }} + - name: Set up build cache + uses: actions/cache@v3 + id: cache + with: + key: ${{ runner.os }}-${{ hashFiles('.cache/**', 'authors.json') }} + path: | + .cache + authors.json + - name: Install Python dependencies run: | pip install . pip install \ "mkdocs-git-committers-plugin-2>=0.4" \ - "mkdocs-git-revision-date-plugin>=0.3" \ + "mkdocs-git-revision-date-localized-plugin>=1.0" \ "mkdocs-minify-plugin>=0.3" \ "mkdocs-redirects>=1.0"