From 8ef72a733eb9bf25d13cc429ba78424df8164945 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 23 Aug 2021 13:03:55 +0000 Subject: [PATCH 1/2] 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] --- .github/workflows/maven.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml index 1cf5770e..2ef65168 100644 --- a/.github/workflows/maven.yml +++ b/.github/workflows/maven.yml @@ -43,7 +43,7 @@ jobs: ${{ runner.os }}-maven- - name: Set up JDK - uses: actions/setup-java@v2.2.0 + uses: actions/setup-java@v2.3.0 with: java-version: ${{ matrix.java }} distribution: 'zulu' From 1340ac68b037bb4928f5d838e106ad2d887bea28 Mon Sep 17 00:00:00 2001 From: Olivier Lamy Date: Wed, 1 Sep 2021 09:12:39 +1000 Subject: [PATCH 2/2] use setup-java cache --- .github/workflows/maven.yml | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml index 2ef65168..331d2713 100644 --- a/.github/workflows/maven.yml +++ b/.github/workflows/maven.yml @@ -34,19 +34,12 @@ jobs: - 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.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