1
0
mirror of https://github.com/squidfunk/mkdocs-material.git synced 2024-11-24 07:30:12 +01:00

Debug GitHub Actions workflow

This commit is contained in:
squidfunk 2022-06-24 14:56:33 +02:00
parent 3ed984d691
commit d7d9e05933
2 changed files with 11 additions and 2 deletions

View File

@ -47,8 +47,8 @@ jobs:
uses: actions/cache@v3 uses: actions/cache@v3
id: cache id: cache
with: with:
path: node_modules
key: ${{ runner.os }}-${{ hashFiles('**/package-lock.json') }} key: ${{ runner.os }}-${{ hashFiles('**/package-lock.json') }}
path: node_modules
- name: Set up Node.js dependencies - name: Set up Node.js dependencies
if: steps.cache.outputs.cache-hit != 'true' if: steps.cache.outputs.cache-hit != 'true'

View File

@ -44,12 +44,21 @@ jobs:
with: with:
python-version: ${{ env.PYTHON_VERSION }} 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 - name: Install Python dependencies
run: | run: |
pip install . pip install .
pip install \ pip install \
"mkdocs-git-committers-plugin-2>=0.4" \ "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-minify-plugin>=0.3" \
"mkdocs-redirects>=1.0" "mkdocs-redirects>=1.0"