Skip to content

Commit

Permalink
Build with Java 21 and the latest EA version
Browse files Browse the repository at this point in the history
  • Loading branch information
ebourg committed Sep 24, 2023
1 parent 824dce2 commit e0d6b08
Showing 1 changed file with 6 additions and 9 deletions.
15 changes: 6 additions & 9 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,4 @@
# Github action performing the following operations:
# - Define an environment variable STOREPASS=password
# - Build the Maven project with Java 8, Java 11 and Java 17 as a matrix. The JDK is provided by Temurin
# - As a post build step, run the tests and upload test coverage to Coveralls.
# Github action building the project with different versions of Java and uploading the test coverage to Coveralls.

name: build

Expand All @@ -20,7 +17,7 @@ jobs:
strategy:
fail-fast: false
matrix:
java: [ 8, 11, 17 ]
java: [ 8, 11, 17, 21 ]

steps:
- uses: actions/checkout@v3
Expand Down Expand Up @@ -53,11 +50,11 @@ jobs:
steps:
- uses: actions/checkout@v3

- name: Set up Java 20
uses: actions/setup-java@v3
- name: 'Set up Java EA'
uses: oracle-actions/setup-java@v1
with:
java-version: 20
distribution: 'temurin'
website: jdk.java.net
release: EA
cache: 'maven'

- name: Build
Expand Down

0 comments on commit e0d6b08

Please sign in to comment.