Skip to content

Commit

Permalink
发布3.1.0-alpha-1 更新jdk版本
Browse files Browse the repository at this point in the history
  • Loading branch information
binking338 committed Feb 13, 2025
1 parent 69e0307 commit 0ef38a2
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/maven-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,11 @@ jobs:

steps:
- uses: actions/checkout@v4
- name: Set up JDK 8
- name: Set up JDK 17
uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: '8'
java-version: '17'

- name: Build with Maven
run: mvn -B package --file pom.xml
Expand All @@ -26,7 +26,7 @@ jobs:
uses: actions/setup-java@v4
with: # running setup-java again overwrites the settings.xml
distribution: 'temurin'
java-version: '8'
java-version: '17'
server-id: io.github.netcorepal # Value of the distributionManagement/repository/id field of the pom.xml
server-username: MAVEN_USERNAME # env variable for username in deploy
server-password: MAVEN_CENTRAL_TOKEN # env variable for token in deploy
Expand Down

0 comments on commit 0ef38a2

Please sign in to comment.