1
0
Fork 0
mirror of synced 2024-06-02 18:44:59 +12:00

tests: Correct pip cache folder

This commit is contained in:
Cristian 2020-08-05 13:30:20 -05:00
parent e0dba0494f
commit 2c2a44dced

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-