Skip to content

Commit

Permalink
Update GitHub Actions configuration
Browse files Browse the repository at this point in the history
- stop running with Java 16 and 17-ea, start running with Java 17
- use latest versions of the actions
- add name for the job and the checkout step
  • Loading branch information
Ladicek committed May 13, 2022
1 parent 1048fce commit 3275347
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions .github/workflows/maven.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,19 +8,23 @@ on:

jobs:
build:
name: "Build with JDK ${{ matrix.java }}"
runs-on: ubuntu-latest

strategy:
fail-fast: false
matrix:
java: [ 8, 11, 16, '17-ea' ]
java: [ 8, 11, 17 ]

steps:
- uses: actions/checkout@v1
- name: Checkout
uses: actions/checkout@v3

- name: Set up JDK ${{ matrix.java }}
uses: actions/setup-java@v2
uses: actions/setup-java@v3
with:
distribution: temurin
java-version: ${{ matrix.java }}

- name: Build with Maven
run: mvn -B package --file pom.xml

0 comments on commit 3275347

Please sign in to comment.