Skip to content

Commit

Permalink
Update CI to use Java 17
Browse files Browse the repository at this point in the history
  • Loading branch information
dbernstein committed Oct 25, 2023
1 parent f87af40 commit 0e569e4
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/ci-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,10 @@ jobs:
uses: actions/checkout@v2

# https://github.com/actions/setup-java
- name: Install JDK 11
- name: Install JDK 17
uses: actions/setup-java@v2
with:
java-version: 11
java-version: 17
distribution: adopt

# https://github.com/actions/cache
Expand All @@ -47,7 +47,7 @@ jobs:
uses: actions/setup-java@v2
if: github.ref == 'refs/heads/develop' && github.event_name == 'push'
with:
java-version: 11
java-version: 17
distribution: adopt
server-id: sonatype-snapshots # Value of the distributionManagement/repository/id field of the pom.xml
server-username: SONATYPE_USERNAME # env variable for sonatype username
Expand All @@ -59,7 +59,7 @@ jobs:
uses: actions/setup-java@v2
if: github.ref == 'refs/heads/main' && github.event_name == 'push'
with:
java-version: 11
java-version: 17
distribution: adopt
server-id: sonatype-releases # Value of the distributionManagement/repository/id field of the pom.xml
server-username: SONATYPE_USERNAME # env variable for sonatype username
Expand Down

0 comments on commit 0e569e4

Please sign in to comment.