mirror of
https://github.com/ful1e5/apple_cursor.git
synced 2025-05-19 17:55:19 -04:00
📦 Hardcoded "pip" caching path
This commit is contained in:
parent
21bcebae6c
commit
376b4d3596
1 changed files with 1 additions and 5 deletions
6
.github/workflows/build.yml
vendored
6
.github/workflows/build.yml
vendored
|
@ -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-
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue