Skip to content

Commit dbe34b5

Browse files
tim-brownclaude
andcommitted
ci: #17 update maven.yml actions to v4
The PR build workflow (maven.yml) was also using actions/setup-java@v1 with the 'distribution' parameter, but v1 doesn't support that parameter. Update to v4 for consistency with maven-release.yml. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
1 parent a37c7eb commit dbe34b5

2 files changed

Lines changed: 6 additions & 6 deletions

File tree

.github/workflows/maven-release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,10 +25,10 @@ jobs:
2525
runs-on: ubuntu-latest
2626
steps:
2727
- uses: actions/checkout@v4
28-
- name: Set up JDK 17
28+
- name: Set up JDK 21
2929
uses: actions/setup-java@v4
3030
with:
31-
java-version: 17
31+
java-version: 21
3232
distribution: 'temurin'
3333
- shell: bash
3434
env:

.github/workflows/maven.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -29,11 +29,11 @@ jobs:
2929
runs-on: ubuntu-latest
3030

3131
steps:
32-
- uses: actions/checkout@v2
33-
- name: Set up JDK 17
34-
uses: actions/setup-java@v1
32+
- uses: actions/checkout@v4
33+
- name: Set up JDK 21
34+
uses: actions/setup-java@v4
3535
with:
36-
java-version: 17
36+
java-version: 21
3737
distribution: 'temurin'
3838
- name: Build with Maven
3939
run: mvn clean compile test --file pom.xml

0 commit comments

Comments
 (0)