Skip to content

Commit

Permalink
GitHub actions include Java 17 and Java 21 to the build
Browse files Browse the repository at this point in the history
  • Loading branch information
aragozin committed Jan 11, 2024
1 parent 7114e27 commit a6c575b
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions .github/workflows/maven.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,3 +49,31 @@ jobs:
distribution: 'adopt'
- name: Build with Maven
run: mvn -B help:active-profiles && mvn -B package --file pom.xml -DdisableToolchain

build17:

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- name: Set up JDK 17
uses: actions/setup-java@v2
with:
java-version: '17'
distribution: 'adopt'
- name: Build with Maven
run: mvn -B help:active-profiles && mvn -B package --file pom.xml -DdisableToolchain

build21:

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- name: Set up JDK 21
uses: actions/setup-java@v2
with:
java-version: '21'
distribution: 'adopt'
- name: Build with Maven
run: mvn -B help:active-profiles && mvn -B package --file pom.xml -DdisableToolchain

0 comments on commit a6c575b

Please sign in to comment.