Skip to content

Commit

Permalink
Apply s4u/setup-maven-action GH action
Browse files Browse the repository at this point in the history
  • Loading branch information
abelsromero committed Mar 20, 2023
1 parent 052a899 commit 20cad40
Showing 1 changed file with 13 additions and 16 deletions.
29 changes: 13 additions & 16 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,28 +22,25 @@ jobs:
fail-fast: false
max-parallel: 4
matrix:
java:
- 8
- 11
- 17
os:
- ubuntu-latest
- windows-latest
- macos-latest
java:
- 8
- 11
- 17
maven:
- 3.8.8
- 3.9.1
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v3
- uses: s4u/setup-maven-action@v1.7.0
with:
fetch-depth: 1
- uses: actions/setup-java@v3
with:
distribution: 'temurin'
java-distribution: 'temurin'
java-version: ${{ matrix.java }}
- name: Cache dependencies
uses: actions/cache@v2
with:
path: ~/.m2/repository
key: ${{ runner.os }}-mvn-cache-${{ hashFiles('**/pom.xml') }}
restore-keys: ${{ runner.os }}-mvn-cache-
maven-version: ${{ matrix.maven }}
- name: Maven version
run: mvn -version
- name: Build
run: ./mvnw -B -V -Prun-its clean verify
run: mvn -B -Prun-its clean verify

0 comments on commit 20cad40

Please # to comment.