Skip to content

Commit

Permalink
CI升级JDK17
Browse files Browse the repository at this point in the history
  • Loading branch information
zhoutaoo committed Mar 13, 2024
1 parent b2676e2 commit e703c65
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/maven.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,10 @@ jobs:
# 1. 声明 checkout 仓库代码到工作区
- uses: actions/checkout@v2
# 2. 安装Java 环境 这里会用到的参数就是 Git Action secrets中配置的,
- name: Set up JDK 1.11
- name: Set up JDK 17
uses: actions/setup-java@v1
with:
java-version: 1.11
java-version: 17
# 3.编译打包
- name: Build with Maven
run: mvn -B package javadoc:javadoc --file pom.xml
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
- name: Set up Maven Central Repo
uses: actions/setup-java@v1
with:
java-version: 1.11
java-version: 17
server-id: sonatype-nexus-staging
server-username: ${{ secrets.OSSRH_USER }}
server-password: ${{ secrets.OSSRH_PASSWORD }}
Expand Down

0 comments on commit e703c65

Please sign in to comment.