Skip to content

Commit

Permalink
Bump actions/setup-java from 2.1.0 to 2.5.0 (#71)
Browse files Browse the repository at this point in the history
* Bump actions/setup-java from 2.1.0 to 2.5.0

Bumps [actions/setup-java](https://github.com/actions/setup-java) from 2.1.0 to 2.5.0.
- [Release notes](https://github.com/actions/setup-java/releases)
- [Commits](actions/setup-java@v2.1.0...v2.5.0)

---
updated-dependencies:
- dependency-name: actions/setup-java
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>

* use cache

Signed-off-by: Olivier Lamy <[email protected]>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Olivier Lamy <[email protected]>
  • Loading branch information
dependabot[bot] and olamy authored Feb 8, 2022
1 parent ff3860f commit 8da671d
Showing 1 changed file with 3 additions and 11 deletions.
14 changes: 3 additions & 11 deletions .github/workflows/maven.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,20 +34,12 @@ jobs:
- name: Checkout
uses: actions/checkout@v2

- name: Set up cache for ~./m2/repository
uses: actions/[email protected]
with:
path: ~/.m2/repository
key: maven-${{ matrix.os }}-java${{ matrix.java }}-${{ hashFiles('**/pom.xml') }}
restore-keys: |
maven-${{ matrix.os }}-java${{ matrix.java }}-
maven-${{ matrix.os }}-
- name: Set up JDK
uses: actions/setup-java@v2.1.0
uses: actions/setup-java@v2.5.0
with:
distribution: 'adopt'
cache: 'maven'
java-version: ${{ matrix.java }}

- name: Build with Maven
run: mvn verify -e -B -V
run: mvn verify -e -B -V javadoc:javadoc

0 comments on commit 8da671d

Please sign in to comment.