Skip to content

Commit 60003dd

Browse files
committed
use cache for pip
1 parent 5f6066d commit 60003dd

File tree

3 files changed

+7
-1
lines changed

3 files changed

+7
-1
lines changed

.github/workflows/build.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -178,9 +178,10 @@ jobs:
178178
with:
179179
python-version: 3.13
180180
cache: 'pip'
181+
cache-dependency-path: '**/requirements-doc.txt'
181182

182183
- name: Install dependencies
183-
run: pip install mike mkdocs-material
184+
run: pip install -r docs/requirements-doc.txt
184185

185186
- name: Check if we should push to gh-pages
186187
# if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/master' }}

docs/license.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# License
2+
3+
--8<-- "LICENSE"

docs/requirements-doc.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
mike
2+
mkdocs-material

0 commit comments

Comments
 (0)