From 314aaf3c69d77cefdf3a3f7566ced4cecd591d9b Mon Sep 17 00:00:00 2001 From: xiehaijun Date: Sun, 27 Jul 2025 07:43:23 +0000 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20.gitea/workflows/demo.yaml?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 发布生产 --- .gitea/workflows/demo.yaml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.gitea/workflows/demo.yaml b/.gitea/workflows/demo.yaml index a2b84d1..93ef7b7 100644 --- a/.gitea/workflows/demo.yaml +++ b/.gitea/workflows/demo.yaml @@ -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