From 376b4d35961147b5b6cf67b08f18aaf665e1d5c2 Mon Sep 17 00:00:00 2001 From: ful1e5 <24286590+ful1e5@users.noreply.github.com> Date: Wed, 3 Feb 2021 19:00:49 +0530 Subject: [PATCH] =?UTF-8?q?=F0=9F=93=A6=20Hardcoded=20"pip"=20caching=20pa?= =?UTF-8?q?th?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/build.yml | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index f954210..39bcc24 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -44,15 +44,11 @@ jobs: with: node-version: "12.x" - - name: Get pip cache directory path - id: pip-cache-dir-path - run: echo "::set-output name=dir::$(pip cache dir)" - - name: Caching pip packages uses: actions/cache@v2 id: pip-cache # use this to check for `cache-hit` (`steps.pip-cache.outputs.cache-hit != 'true'`) with: - path: ${{ steps.pip-cache-dir-path.output.dir }} + path: ~/.cache/pip key: ${{ runner.os }}-pip-${{ hashFiles('**/setup.py') }} restore-keys: | ${{ runner.os }}-pip-