mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-07-10 16:22:22 +03:00
Ci: Simplify Cygwin pip cache
This might pave the way for caching the Cygwin install, which might speed things up a bit.
This commit is contained in:
parent
bd61d1ef1b
commit
be6dd712ba
9
.github/workflows/test-cygwin.yml
vendored
9
.github/workflows/test-cygwin.yml
vendored
|
@ -47,15 +47,16 @@ jobs:
|
||||||
- name: Get pip cache dir
|
- name: Get pip cache dir
|
||||||
id: pip-cache
|
id: pip-cache
|
||||||
run: |
|
run: |
|
||||||
bash.exe -c 'echo "::set-output name=dir::$(python -m pip cache dir)"'
|
bash.exe -c 'cygpath -wa $(python -m pip cache dir)'
|
||||||
|
bash.exe -c 'echo "::set-output name=dir::$(cygpath -wa $(python -m pip cache dir))"'
|
||||||
|
|
||||||
- name: pip cache
|
- name: pip cache
|
||||||
uses: actions/cache@v3
|
uses: actions/cache@v3
|
||||||
with:
|
with:
|
||||||
path: ${{ steps.pip-cache.outputs.dir }}
|
path: 'C:\cygwin\home\runner\.cache\pip'
|
||||||
key: ${{ runner.os }}-pip-${{ hashFiles('**/requirements.txt') }}
|
key: ${{ runner.os }}-cygwin-pip-${{ hashFiles('.ci/install.sh') }}
|
||||||
restore-keys: |
|
restore-keys: |
|
||||||
${{ runner.os }}-pip-
|
${{ runner.os }}-cygwin-pip-
|
||||||
|
|
||||||
- name: Build system information
|
- name: Build system information
|
||||||
run: |
|
run: |
|
||||||
|
|
Loading…
Reference in New Issue
Block a user