mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-01-14 11:26:27 +03:00
Cache pip
This commit is contained in:
parent
4e4bb38cd6
commit
b0d9fe6ce3
14
.github/workflows/test.yml
vendored
14
.github/workflows/test.yml
vendored
|
@ -30,6 +30,20 @@ jobs:
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v1
|
- uses: actions/checkout@v1
|
||||||
|
|
||||||
|
- name: Ubuntu cache
|
||||||
|
uses: actions/cache@preview
|
||||||
|
if: startsWith(matrix.os, 'ubuntu')
|
||||||
|
with:
|
||||||
|
path: ~/.cache/pip
|
||||||
|
key: ${{ github.workflow }}-${{ matrix.os }}-${{ matrix.python-version }}
|
||||||
|
|
||||||
|
- name: macOS cache
|
||||||
|
uses: actions/cache@preview
|
||||||
|
if: startsWith(matrix.os, 'macOS')
|
||||||
|
with:
|
||||||
|
path: ~/Library/Caches/pip
|
||||||
|
key: ${{ github.workflow }}-${{ matrix.os }}-${{ matrix.python-version }}
|
||||||
|
|
||||||
- name: Set up Python ${{ matrix.python-version }}
|
- name: Set up Python ${{ matrix.python-version }}
|
||||||
uses: actions/setup-python@v1
|
uses: actions/setup-python@v1
|
||||||
with:
|
with:
|
||||||
|
|
Loading…
Reference in New Issue
Block a user