Merge pull request #424 from cdvv7788/pip-cache

tests: Correct pip cache folder
This commit is contained in:
Nick Sweeting 2020-08-05 17:50:56 -04:00 committed by GitHub
commit 98cdea871b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -46,11 +46,16 @@ jobs:
python-version: ${{ matrix.python }}
architecture: x64
- name: Get pip cache dir
id: pip-cache
run: |
echo "::set-output name=dir::$(pip cache dir)"
- name: Cache pip
uses: actions/cache@v2
id: cache-pip
with:
path: ~/.cache/pip
path: ${{ steps.pip-cache.outputs.dir }}
key: ${{ runner.os }}-${{ matrix.python }}-venv-${{ hashFiles('setup.py') }}
restore-keys: |
${{ runner.os }}-${{ matrix.python }}-venv-