From 2c2a44dced353d12a0e29b303180e8e30d8ffec9 Mon Sep 17 00:00:00 2001 From: Cristian Date: Wed, 5 Aug 2020 13:30:20 -0500 Subject: [PATCH] tests: Correct pip cache folder --- .github/workflows/test.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 9fccf5da..492cf334 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -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-