Bump actions/setup-java from 2.2.0 to 2.3.0 (#65)
* Bump actions/setup-java from 2.2.0 to 2.3.0
Bumps [actions/setup-java](https://github.com/actions/setup-java) from 2.2.0 to 2.3.0.
- [Release notes](https://github.com/actions/setup-java/releases)
- [Commits](https://github.com/actions/setup-java/compare/v2.2.0...v2.3.0)
---
updated-dependencies:
- dependency-name: actions/setup-java
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
* use setup-java cache
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Olivier Lamy <olamy@apache.org>
diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml
index 1cf5770..331d271 100644
--- a/.github/workflows/maven.yml
+++ b/.github/workflows/maven.yml
@@ -34,19 +34,12 @@
- name: Checkout
uses: actions/checkout@v2.3.4
- - name: Cache local Maven repository
- uses: actions/cache@v2.1.6
- with:
- path: ~/.m2/repository
- key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
- restore-keys: |
- ${{ runner.os }}-maven-
-
- name: Set up JDK
- uses: actions/setup-java@v2.2.0
+ uses: actions/setup-java@v2.3.0
with:
+ cache: 'maven'
java-version: ${{ matrix.java }}
- distribution: 'zulu'
+ distribution: 'temurin'
- name: Build with Maven
run: mvn verify -e -B -V -P run-its