@@ -41,21 +41,45 @@ jobs:
41
41
with:
42
42
submodules: recursive
43
43
44
+ # - name: Set up Python runtime
45
+ # uses: actions/setup-python@v3
46
+ # with:
47
+ # python-version: ${{ env.PYTHON_VERSION }}
48
+
44
49
- name: Set up Python runtime
45
- uses: actions/setup-python@v3
50
+ uses: actions/setup-python@v5
46
51
with:
47
52
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
48
67
49
68
- name: Install Python dependencies
50
69
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
59
83
60
84
61
85
- name: Deploy documentation
0 commit comments