Use actions/setup-python's pip cache
This commit is contained in:
parent
b3fb55586c
commit
754d94374b
5 changed files with 5 additions and 26 deletions
10
.github/workflows/deploy.yml
vendored
10
.github/workflows/deploy.yml
vendored
|
@ -19,18 +19,12 @@ jobs:
|
|||
with:
|
||||
fetch-depth: 0
|
||||
|
||||
- name: Cache
|
||||
uses: actions/cache@v2
|
||||
with:
|
||||
path: ~/.cache/pip
|
||||
key: deploy-${{ hashFiles('**/setup.py') }}
|
||||
restore-keys: |
|
||||
deploy-
|
||||
|
||||
- name: Set up Python
|
||||
uses: actions/setup-python@v2
|
||||
with:
|
||||
python-version: "3.10"
|
||||
cache: pip
|
||||
cache-dependency-path: "setup.py"
|
||||
|
||||
- name: Install dependencies
|
||||
run: |
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue