Give cache usages a proper name
parent
31e05f53ee
commit
facd97a0e6
|
|
@ -29,28 +29,22 @@ jobs:
|
||||||
uses: actions/setup-python@v2
|
uses: actions/setup-python@v2
|
||||||
with:
|
with:
|
||||||
python-version: ${{ matrix.python-version }}
|
python-version: ${{ matrix.python-version }}
|
||||||
- uses: actions/cache@v1
|
- name: Maven cache
|
||||||
|
uses: actions/cache@v1
|
||||||
with:
|
with:
|
||||||
path: .tox/shared/.m2
|
path: .tox/shared/.m2
|
||||||
key: ${{ matrix.plattform }}-${{ matrix.python-version }}-maven-${{ hashFiles('**/pom.xml') }}
|
key: ${{ matrix.plattform }}-${{ matrix.python-version }}-maven-${{ hashFiles('**/pom.xml') }}
|
||||||
restore-keys: |
|
restore-keys: |
|
||||||
${{ matrix.plattform }}-${{ matrix.python-version }}-maven-
|
${{ matrix.plattform }}-${{ matrix.python-version }}-maven-
|
||||||
|
- name: Pip cache
|
||||||
- uses: actions/cache@v1
|
uses: actions/cache@v2
|
||||||
with:
|
|
||||||
path: .tox/shared/.m2
|
|
||||||
key: ${{ matrix.plattform }}-${{ matrix.python-version }}-maven-${{ hashFiles('**/pom.xml') }}
|
|
||||||
restore-keys: |
|
|
||||||
${{ matrix.plattform }}-${{ matrix.python-version }}-maven-
|
|
||||||
|
|
||||||
- uses: actions/cache@v2
|
|
||||||
with:
|
with:
|
||||||
path: ~/.cache/pip
|
path: ~/.cache/pip
|
||||||
key: ${{ matrix.plattform }}-${{ matrix.python-version }}-pip-${{ hashFiles('**/*requirements.txt', 'tox.ini', 'setup.py') }}
|
key: ${{ matrix.plattform }}-${{ matrix.python-version }}-pip-${{ hashFiles('**/*requirements.txt', 'tox.ini', 'setup.py') }}
|
||||||
restore-keys: |
|
restore-keys: |
|
||||||
${{ matrix.plattform }}-${{ matrix.python-version }}-pip-
|
${{ matrix.plattform }}-${{ matrix.python-version }}-pip-
|
||||||
|
- name: Jython installation cache
|
||||||
- uses: actions/cache@v2
|
uses: actions/cache@v2
|
||||||
with:
|
with:
|
||||||
path: ~/jython
|
path: ~/jython
|
||||||
key: ${{ matrix.jython }}-jython
|
key: ${{ matrix.jython }}-jython
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue