Skip to content

Commit

Permalink
Upgrading to Java 23
Browse files Browse the repository at this point in the history
  • Loading branch information
zodac committed Nov 2, 2024
1 parent 81ac834 commit 23e0512
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 10 deletions.
18 changes: 9 additions & 9 deletions .github/workflows/java.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,19 +29,12 @@ jobs:
repository: zodac/advent-of-code-inputs
token: ${{ secrets.SUBMODULE_ACCESS }}

- name: Set up JDK 22
- name: Set up JDK
uses: actions/setup-java@v4.2.1
with:
cache: 'maven'
distribution: 'temurin'
java-version: '22'

- name: Setup Maven Action
uses: s4u/setup-maven-action@v1.14.0
with:
java-distribution: 'temurin'
java-version: '22'
maven-version: '3.9.9'
java-version: '23'

- name: Cache local .m2
uses: actions/cache@v4.0.2
Expand All @@ -51,6 +44,13 @@ jobs:
restore-keys: |
${{ runner.os }}-maven-
- name: Setup Maven Action
uses: s4u/setup-maven-action@v1.14.0
with:
java-distribution: 'temurin'
java-version: '23'
maven-version: '3.9.9'

- name: Run lints and test with Maven (including SonarQube)
env:
SONARQUBE_PAT: ${{ secrets.SONARQUBE_PAT }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/version_update.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ jobs:
repository: zodac/advent-of-code-inputs
token: ${{ secrets.SUBMODULE_ACCESS }}

- name: Set up JDK 22
- name: Set up JDK
uses: actions/setup-java@v4.2.1
with:
distribution: 'temurin'
Expand Down

0 comments on commit 23e0512

Please sign in to comment.