Skip to content

Commit ff548f2

Browse files
committed
gh-pages: simplify
1 parent 3e4f382 commit ff548f2

File tree

1 file changed

+1
-15
lines changed

1 file changed

+1
-15
lines changed

.github/workflows/gh-pages.yaml

Lines changed: 1 addition & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -25,22 +25,8 @@ jobs:
2525
uses: actions/setup-python@v4
2626
with:
2727
python-version: '3.9'
28+
cache: pip
2829

29-
- name: Upgrade pip
30-
run: |
31-
# pip >= 20.1 so we can use ``pip cache dir``
32-
python3 -m pip install --upgrade pip
33-
- name: Get pip cache dir
34-
id: pip-cache
35-
run: echo "dir=$(pip cache dir)" >> "$GITHUB_OUTPUT"
36-
37-
- name: Cache dependencies
38-
uses: actions/cache@v3
39-
with:
40-
path: ${{ steps.pip-cache.outputs.dir }}
41-
key: ${{ runner.os }}-pip-${{ hashFiles('**/requirements.txt') }}
42-
restore-keys: |
43-
${{ runner.os }}-pip-
4430
- name: Install dependencies
4531
run: python3 -m pip install -U -e ".[all]"
4632

0 commit comments

Comments
 (0)