修改CI脚本
This commit is contained in:
parent
9b7205bd73
commit
c3347e4ad5
@ -12,16 +12,14 @@ jobs:
|
||||
permissions: write-all
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
# 下载代码
|
||||
- uses: actions/checkout@v3
|
||||
- uses: stCarolas/setup-maven@v4
|
||||
- name: Set up JDK 17
|
||||
# 安装 JDK
|
||||
uses: actions/setup-java@v3
|
||||
with:
|
||||
java-version: '17'
|
||||
distribution: 'temurin'
|
||||
cache: maven
|
||||
# Maven 打包
|
||||
- name: Build with Maven
|
||||
run: mvn -B package --file pom.xml
|
||||
# 将打包好的 Jar 包 放到 staging 文件夹
|
||||
|
Loading…
Reference in New Issue
Block a user