Skip to content

Commit d3be86b

Browse files
Copilotbinarywang
andauthored
固定发布工作流使用 Maven 3.9.16
Co-authored-by: binarywang <1343140+binarywang@users.noreply.github.com>
1 parent 7696b24 commit d3be86b

4 files changed

Lines changed: 489 additions & 2 deletions

File tree

‎.github/workflows/maven-publish.yml‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -93,13 +93,13 @@ jobs:
9393
fi
9494
echo "Final version: $VERSION"
9595
echo "VERSION=$VERSION" >> $GITHUB_ENV
96-
mvn versions:set -DnewVersion=$VERSION --no-transfer-progress
96+
./mvnw versions:set -DnewVersion=$VERSION --no-transfer-progress
9797
env:
9898
TZ: Asia/Shanghai
9999

100100
- name: Publish to Maven Central
101101
run: |
102-
mvn clean deploy -P release \
102+
./mvnw clean deploy -P release \
103103
-Dmaven.test.skip=true \
104104
-Dgpg.args="--batch --yes --pinentry-mode loopback" \
105105
--no-transfer-progress
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
wrapperVersion=3.3.4
2+
distributionType=only-script
3+
distributionUrl=https://repo.maven.apache.org/maven2/org/apache/maven/apache-maven/3.9.16/apache-maven-3.9.16-bin.zip

‎mvnw‎

Lines changed: 295 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)