mirror of
https://github.com/ryujinx-mirror/ryujinx.git
synced 2024-12-23 13:25:46 +00:00
Looks like we can cache pip deps directly with actions/setup-python
This commit is contained in:
parent
ee1f80d5f5
commit
966caddecc
1 changed files with 1 additions and 7 deletions
8
.github/workflows/docs.yml
vendored
8
.github/workflows/docs.yml
vendored
|
@ -47,16 +47,10 @@ jobs:
|
||||||
- uses: actions/setup-python@v5
|
- uses: actions/setup-python@v5
|
||||||
with:
|
with:
|
||||||
python-version: 3.x
|
python-version: 3.x
|
||||||
|
cache: 'pip'
|
||||||
|
|
||||||
- run: echo "cache_id=$(date --utc '+%V')" >> $GITHUB_ENV
|
- run: echo "cache_id=$(date --utc '+%V')" >> $GITHUB_ENV
|
||||||
|
|
||||||
- uses: actions/cache@v4
|
|
||||||
with:
|
|
||||||
key: mkdocs-material-${{ env.cache_id }}
|
|
||||||
path: .cache
|
|
||||||
restore-keys: |
|
|
||||||
mkdocs-material-
|
|
||||||
|
|
||||||
- run: pip install -r requirements.txt
|
- run: pip install -r requirements.txt
|
||||||
|
|
||||||
- name: Build Docs and Capture Warnings
|
- name: Build Docs and Capture Warnings
|
||||||
|
|
Loading…
Reference in a new issue