更新 .gitea/workflows/demo.yaml
自动流水线示例 / 构建应用 (push) Successful in 1m55s
Details
自动流水线示例 / 构建应用 (push) Successful in 1m55s
Details
发布生产
This commit is contained in:
parent
ef143d4737
commit
708ee69467
|
|
@ -96,4 +96,12 @@ jobs:
|
|||
java-version: '21'
|
||||
check-latest: true
|
||||
cache: 'maven'
|
||||
# cache-dependency-path: 'sub-project/pom.xml' # optional
|
||||
# cache-dependency-path: 'sub-project/pom.xml' # optional
|
||||
- name: 安装Maven
|
||||
uses: stCarolas/setup-maven@v5
|
||||
with:
|
||||
maven-version: 3.9.11
|
||||
- name: Maven打包
|
||||
run: |
|
||||
echo 'mvn clean install -DskipTests && mvn -B package --file pom.xml'
|
||||
mvn --version
|
||||
Loading…
Reference in New Issue