Skip to content

Commit

Permalink
Update CI to use Java 17 (#34)
Browse files Browse the repository at this point in the history
  • Loading branch information
dbernstein authored Oct 27, 2023
1 parent 9cffe0d commit f3fdaea
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 f3fdaea

Please sign in to comment.