Skip to content

Commit

Permalink
Looks like we can cache pip deps directly with actions/setup-python
Browse files Browse the repository at this point in the history
  • Loading branch information
regginator committed Oct 12, 2024
1 parent ee1f80d commit 966cadd
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,16 +47,10 @@ jobs:
- uses: actions/setup-python@v5
with:
python-version: 3.x
cache: 'pip'

- 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

- name: Build Docs and Capture Warnings
Expand Down

0 comments on commit 966cadd

Please sign in to comment.