Skip to content

Commit

Permalink
Updated CI setup
Browse files Browse the repository at this point in the history
  • Loading branch information
slachiewicz committed Sep 2, 2021
1 parent 0cd2070 commit fda2a84
Showing 1 changed file with 6 additions and 12 deletions.
18 changes: 6 additions & 12 deletions .github/workflows/maven.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,8 @@ jobs:
strategy:
matrix:
os: [ubuntu-latest, windows-latest, macOS-latest]
java: [8, 11, 14, 15-ea]
java: [8, 11, 17-ea]
jdk: [temurin, zulu]
fail-fast: false

runs-on: ${{ matrix.os }}
Expand All @@ -34,19 +35,12 @@ jobs:
- name: Checkout
uses: actions/checkout@v2

- name: Set up cache for ~./m2/repository
uses: actions/cache@v1
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@v1
uses: actions/setup-java@v2
with:
cache: 'maven'
distribution: ${{ matrix.jdk }}
java-version: ${{ matrix.java }}

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

0 comments on commit fda2a84

Please sign in to comment.