File tree Expand file tree Collapse file tree 2 files changed +10
-6
lines changed Expand file tree Collapse file tree 2 files changed +10
-6
lines changed Original file line number Diff line number Diff line change 37
37
with :
38
38
distribution : " temurin"
39
39
java-version : 11
40
- - name : Deploy to GitHub
40
+ - name : OSSRH Snapshot
41
+ run : mvn deploy -Possrh
42
+ env :
43
+ GITHUB_TOKEN : ${{ github.token }}
44
+ - name : GitHub Snapshot
41
45
run : mvn deploy -Pgithub
42
46
env :
43
47
GITHUB_TOKEN : ${{ github.token }}
Original file line number Diff line number Diff line change 287
287
</build >
288
288
</profile >
289
289
<profile >
290
- <id >deploy </id >
290
+ <id >ossrh </id >
291
291
<distributionManagement >
292
- <snapshotRepository >
293
- <id >ossrh</id >
294
- <url >https://oss.sonatype.org/content/repositories/snapshots</url >
295
- </snapshotRepository >
296
292
<repository >
297
293
<id >ossrh</id >
298
294
<url >https://oss.sonatype.org/service/local/staging/deploy/maven2/</url >
299
295
</repository >
296
+ <snapshotRepository >
297
+ <id >ossrh</id >
298
+ <url >https://oss.sonatype.org/content/repositories/snapshots</url >
299
+ </snapshotRepository >
300
300
</distributionManagement >
301
301
<build >
302
302
<plugins >
You can’t perform that action at this time.
0 commit comments