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"