更新 .gitea/workflows/demo.yaml
Gitea Actions Demo / Explore-Gitea-Actions (push) Successful in 2m15s Details

发布生产,安装maven
This commit is contained in:
xiehaijun 2025-07-27 07:59:08 +00:00
parent 314aaf3c69
commit 43de74c4ba
1 changed files with 4 additions and 0 deletions

View File

@ -98,6 +98,10 @@ jobs:
check-latest: true
cache: 'maven'
# cache-dependency-path: 'sub-project/pom.xml' # optional
- name: Set up Maven
uses: stCarolas/setup-maven@v5
with:
maven-version: 3.9.11
- name: Build with Maven
run: |
echo "mvn clean install -DskipTests && mvn -B package --file pom.xml"