更新 .gitea/workflows/demo.yaml
Gitea Actions Demo / Explore-Gitea-Actions (push) Failing after 1m10s Details

发布生产
This commit is contained in:
xiehaijun 2025-07-27 07:43:23 +00:00
parent 7836aa9320
commit 314aaf3c69
1 changed files with 4 additions and 1 deletions

View File

@ -95,9 +95,12 @@ jobs:
with:
distribution: 'temurin' # See 'Supported distributions' for available options
java-version: '21'
check-latest: true
cache: 'maven'
# cache-dependency-path: 'sub-project/pom.xml' # optional
- name: Build with Maven
run: |
echo "mvn clean install -DskipTests"
echo "mvn clean install -DskipTests && mvn -B package --file pom.xml"
mvn --version
- name: List files in the repository