diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml index 04d95da..b40a461 100644 --- a/.github/workflows/maven.yml +++ b/.github/workflows/maven.yml @@ -32,6 +32,12 @@ jobs: with: java-version: 11 distribution: temurin + - uses: actions/cache@v1 + with: + path: ~/.m2/repository + key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }} + restore-keys: | + ${{ runner.os }}-maven- - name: Publish package run: mvn --batch-mode deploy env: