diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml index 24ed6cf..d805627 100644 --- a/.github/workflows/maven.yml +++ b/.github/workflows/maven.yml @@ -6,8 +6,14 @@ jobs: build: runs-on: ubuntu-latest - + steps: + - uses: actions/cache@v1 + with: + path: ~/.m2/repository + key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }} + restore-keys: | + ${{ runner.os }}-maven- - uses: actions/checkout@v1 - name: Set up JDK 1.8 uses: actions/setup-java@v1