0
0
Fork 0
mirror of https://github.com/ryujinx-mirror/ryujinx.git synced 2024-12-23 17:05:45 +00:00

Looks like we can cache pip deps directly with actions/setup-python

This commit is contained in:
reggie 2024-10-11 20:55:44 -05:00
parent ee1f80d5f5
commit 966caddecc

View file

@ -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