Skip to content

Commit f81ef2c

Browse files
committed
Update JDK version to 17 and skip tests during build verification
1 parent 5f8bfcc commit f81ef2c

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

.github/workflows/publish-maven.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -43,10 +43,10 @@ jobs:
4343
4444
- uses: ./.github/actions/setup-copilot
4545

46-
- name: Set up JDK 21
46+
- name: Set up JDK 17
4747
uses: actions/setup-java@v5
4848
with:
49-
java-version: "21"
49+
java-version: "17"
5050
distribution: "temurin"
5151
server-id: central
5252
server-username: MAVEN_USERNAME
@@ -66,7 +66,7 @@ jobs:
6666
echo "Publishing version: $VERSION" >> $GITHUB_STEP_SUMMARY
6767
6868
- name: Build and verify
69-
run: mvn verify
69+
run: mvn verify -DskipTests
7070

7171
- name: Deploy to Maven Central
7272
run: mvn deploy -DskipTests -Prelease

0 commit comments

Comments
 (0)