@@ -41,21 +41,45 @@ jobs:
4141 with:
4242 submodules: recursive
4343
44+ # - name: Set up Python runtime
45+ # uses: actions/setup-python@v3
46+ # with:
47+ # python-version: ${{ env.PYTHON_VERSION }}
48+
4449 - name: Set up Python runtime
45- uses: actions/setup-python@v3
50+ uses: actions/setup-python@v5
4651 with:
4752 python-version: ${{ env.PYTHON_VERSION }}
53+ cache: pip
54+ cache-dependency-path: |
55+ requirements.txt
56+
57+ - name: Set up build cache
58+ uses: actions/cache/restore@v4
59+ with:
60+ key: mkdocs-material-${{ hashfiles('.cache/**') }}
61+ path: .cache
62+ restore-keys: |
63+ mkdocs-material-
64+
65+ - name: Install dependencies
66+ run: sudo apt-get install pngquant
4867
4968 - name: Install Python dependencies
5069 run: |
51- pip install .
52- pip install \
53- pip install mkdocs-material \
54- mkdocs-minify-plugin>=0.3 \
55- mkdocs-redirects>=1.0 \
56- mkdocs-rss-plugin>=0.17 \
57- mkdocs-awesome-pages-plugin \
58- mkdocs-monorepo-plugin
70+ pip install mkdocs-material
71+ pip install .[recommended,git,imaging]
72+
73+ # - name: Install Python dependencies
74+ # run: |
75+ # pip install .
76+ # pip install \
77+ # pip install mkdocs-material \
78+ # mkdocs-minify-plugin>=0.3 \
79+ # mkdocs-redirects>=1.0 \
80+ # mkdocs-rss-plugin>=0.17 \
81+ # mkdocs-awesome-pages-plugin \
82+ # mkdocs-monorepo-plugin
5983
6084
6185 - name: Deploy documentation
0 commit comments