File tree Expand file tree Collapse file tree 3 files changed +5
-8
lines changed Expand file tree Collapse file tree 3 files changed +5
-8
lines changed Original file line number Diff line number Diff line change 29
29
with :
30
30
node-version : ' 20'
31
31
32
+ - name : Generate Java docs
33
+ run : mvn -Pjavadoc -B javadoc:aggregate
34
+
32
35
- name : Build with Maven and deploy to Sonatype snapshot repository
33
36
env :
34
37
MAVEN_USERNAME : ${{ secrets.OSSRH_USERNAME }}
37
40
run : |
38
41
mvn -Pjavadoc -Prelease --batch-mode --update-snapshots deploy
39
42
40
- - name : Generate Java docs
41
- run : mvn -Pjavadoc -B javadoc:aggregate
42
-
43
43
- name : Capture project version
44
44
run : echo PROJECT_VERSION=$(mvn help:evaluate -Dexpression=project.version --quiet -DforceStdout) >> $GITHUB_ENV
Original file line number Diff line number Diff line change @@ -2,9 +2,6 @@ name: Release to Maven Central
2
2
3
3
on :
4
4
workflow_dispatch :
5
- push :
6
- tags :
7
- - ' v*'
8
5
9
6
jobs :
10
7
publish :
Original file line number Diff line number Diff line change 298
298
<extensions >true</extensions >
299
299
<configuration >
300
300
<publishingServerId >central</publishingServerId >
301
- <!-- < autoPublish>false</autoPublish> -- >
301
+ <autoPublish >false</autoPublish >
302
302
</configuration >
303
303
</plugin >
304
304
<plugin >
305
305
<groupId >org.apache.maven.plugins</groupId >
306
306
<artifactId >maven-gpg-plugin</artifactId >
307
- <version >3.1.0 </version >
307
+ <version >3.2.7 </version >
308
308
<executions >
309
309
<execution >
310
310
<id >sign-artifacts</id >
You can’t perform that action at this time.
0 commit comments