CI: Try to fix Cygwin pip cache

This commit is contained in:
DWesl 2022-04-22 08:25:46 -04:00 committed by GitHub
parent c1d3bac917
commit 805e8f10ba
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -44,19 +44,13 @@ jobs:
with:
dirs: 'C:\cygwin\bin;C:\cygwin\lib\lapack'
- name: Get pip cache dir
id: pip-cache
run: |
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
uses: actions/cache@v3
with:
path: 'C:\cygwin\home\runneradmin\.cache\pip'
key: ${{ runner.os }}-cygwin-pip-${{ hashFiles('.ci/install.sh') }}
key: ${{ runner.os }}-cygwin-${{ matrix.architecture }}-pip3.${{ matrix.python-minor-version }}-${{ hashFiles('.ci/install.sh') }}
restore-keys: |
${{ runner.os }}-cygwin-pip-
${{ runner.os }}-cygwin-${{ matrix.architecture }}-pip3.${{ matrix.python-minor-version }}-
- name: Build system information
run: |