Add cache
This commit is contained in:
parent
79ad05ec9b
commit
23a3529802
|
@ -12,9 +12,14 @@ on:
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
|
- name: Cache Maven packages
|
||||||
|
uses: actions/cache@v2
|
||||||
|
with:
|
||||||
|
path: ~/.m2
|
||||||
|
key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }}
|
||||||
|
restore-keys: ${{ runner.os }}-m2
|
||||||
- name: Checkout submodules
|
- name: Checkout submodules
|
||||||
uses: textbook/git-checkout-submodule-action@2.1.1
|
uses: textbook/git-checkout-submodule-action@2.1.1
|
||||||
- name: Set up JDK 16
|
- name: Set up JDK 16
|
||||||
|
|
Loading…
Reference in New Issue