From b19d61c251d2479849fb1937178753fc3d2fe0e6 Mon Sep 17 00:00:00 2001 From: "J. Borovec" Date: Mon, 27 Apr 2020 00:09:10 +0200 Subject: [PATCH] cache --- .github/workflows/ci-testing.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci-testing.yml b/.github/workflows/ci-testing.yml index 7a43fdb3..36e49e0e 100644 --- a/.github/workflows/ci-testing.yml +++ b/.github/workflows/ci-testing.yml @@ -68,10 +68,12 @@ jobs: python -c "from pip._internal.locations import USER_CACHE_DIR; print('::set-output name=dir::' + USER_CACHE_DIR)" - name: Cache pip - - uses: actions/cache@v1 + uses: actions/cache@v1 with: path: ${{ steps.pip-cache.outputs.dir }} key: ${{ runner.os }}-${{ matrix.python-version }}-pip-${{ hashFiles('requirements.txt') }}-${{ hashFiles('requirements-extra.txt') }} + restore-keys: | + ${{ runner.os }}-${{ matrix.python-version }}-pip- - name: Install dependencies run: |