1
0
mirror of synced 2026-10-17 04:46:10 +08:00

🎨 固定发布工作流使用 Maven 3.9.16

This commit is contained in:
Copilot
2026-10-09 16:33:08 +08:00
committed by GitHub
parent 2ca4dad6d8
commit 6b4a3d3e78
3 changed files with 301 additions and 2 deletions

View File

@@ -93,13 +93,13 @@ jobs:
fi
echo "Final version: $VERSION"
echo "VERSION=$VERSION" >> $GITHUB_ENV
mvn versions:set -DnewVersion=$VERSION --no-transfer-progress
./mvnw versions:set -DnewVersion=$VERSION --no-transfer-progress
env:
TZ: Asia/Shanghai
- name: Publish to Maven Central
run: |
mvn clean deploy -P release \
./mvnw clean deploy -P release \
-Dmaven.test.skip=true \
-Dgpg.args="--batch --yes --pinentry-mode loopback" \
--no-transfer-progress