Add cache

This commit is contained in:
SeanOMik 2021-07-08 20:02:02 -04:00 committed by GitHub
parent 79ad05ec9b
commit 23a3529802
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 6 additions and 1 deletions

View File

@ -12,9 +12,14 @@ on:
jobs:
build:
runs-on: ubuntu-latest
steps:
- 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
uses: textbook/git-checkout-submodule-action@2.1.1
- name: Set up JDK 16