Skip to content

Commit

Permalink
Update maven.yml to run java 17
Browse files Browse the repository at this point in the history
  • Loading branch information
antoinemeyer committed Mar 2, 2024
1 parent b5c7c19 commit 6da28e4
Showing 1 changed file with 8 additions and 9 deletions.
17 changes: 8 additions & 9 deletions .github/workflows/maven.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,11 @@ jobs:
build:

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- name: Set up JDK 1.8
uses: actions/setup-java@v1
with:
java-version: 1.8
- name: Build with Maven
run: mvn -B package --file pom.xml
steps:
- uses: actions/checkout@v4
- uses: actions/setup-java@v3
with:
java-version: '17'
distribution: 'temurin'
- name: Build with maven
run: mvn -B package --file pom.xml

0 comments on commit 6da28e4

Please sign in to comment.