File tree Expand file tree Collapse file tree 2 files changed +16
-10
lines changed Expand file tree Collapse file tree 2 files changed +16
-10
lines changed Original file line number Diff line number Diff line change 11name : Java SNAPSHOT Release
22
3+ permissions :
4+ packages : write
5+
36on :
47 workflow_dispatch :
58 push :
@@ -13,15 +16,15 @@ jobs:
1316 runs-on : ubuntu-latest
1417 steps :
1518 - uses : actions/checkout@v4
19+
1620 - name : Set up JDK
1721 uses : actions/setup-java@v4
1822 with :
19- distribution : ' temurin'
23+ distribution : temurin
2024 java-version : 21
21- cache : ' maven'
25+ cache : maven
2226
2327 - name : Build and Publish SNAPSHOT
24- run : ./mvnw deploy -B -V -DaltDeploymentRepository=github::default::https://maven.pkg.github.com/${{ github.repository }} -D"maven.javadoc.skip"="true" -D"java.util.logging.config.file"="${{github.workspace}}/quickfixj-core/src/test/resources/logging.properties" -D"http.keepAlive"="false" -D"maven.wagon.http.pool"="false" -D"maven.wagon.httpconnectionManager.ttlSeconds"="120"
25-
28+ run : ./mvnw deploy -B -V -D"maven.javadoc.skip"="true" -D"java.util.logging.config.file"="${{github.workspace}}/quickfixj-core/src/test/resources/logging.properties" -D"http.keepAlive"="false" -D"maven.wagon.http.pool"="false" -D"maven.wagon.httpconnectionManager.ttlSeconds"="120"
2629 env :
2730 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
Original file line number Diff line number Diff line change 604604 </profile >
605605 </profiles >
606606 <distributionManagement >
607- <snapshotRepository >
608- <id >ossrh</id >
609- <url >https://oss.sonatype.org/content/repositories/snapshots</url >
610- </snapshotRepository >
611607 <repository >
612- <id >ossrh</id >
613- <url >https://oss.sonatype.org/service/local/staging/deploy/maven2/</url >
608+ <id >github</id >
609+ <name >GitHub Packages</name >
610+ <url >https://maven.pkg.github.com/quickfix-j/quickfixj</url >
614611 </repository >
612+
613+ <snapshotRepository >
614+ <id >github</id >
615+ <name >GitHub Packages Snapshots</name >
616+ <url >https://maven.pkg.github.com/quickfix-j/quickfixj</url >
617+ </snapshotRepository >
615618 </distributionManagement >
616619
617620</project >
You can’t perform that action at this time.
0 commit comments