From 17576ab5fcee88c6420f6d31b7450d6dc72e6075 Mon Sep 17 00:00:00 2001 From: Elliott Baron Date: Fri, 14 May 2021 10:41:05 -0400 Subject: [PATCH] Use actions/cache for CI builds (#76) --- .github/workflows/ci.yaml | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index a3f76c0..f03d906 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -17,11 +17,10 @@ jobs: with: java-version: '11' distribution: 'adopt' - - uses: skjolber/maven-cache-github-action@v1 + - uses: actions/cache@v2 with: - step: restore + path: ~/.m2/repository + key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }} + restore-keys: | + ${{ runner.os }}-maven- - run: mvn -B -U clean verify - - uses: skjolber/maven-cache-github-action@v1 - with: - step: save -