File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -37,13 +37,17 @@ jobs:
3737 uses : actions/setup-java@v1
3838 with :
3939 java-version : 1.11
40- server-id : sonatype-nexus- staging
40+ server-id : ossrh- staging-api
4141 server-username : MAVEN_USERNAME
4242 server-password : MAVEN_PASSWORD
4343 gpg-passphrase : MAVEN_GPG_PASSPHRASE
4444
4545 - name : Perform release
46- run : mvn --batch-mode release:perform -Psign-artifacts
46+ run : |
47+ mvn --batch-mode release:perform -Psign-artifacts
48+ curl --request POST \
49+ --user "${{ MAVEN_USERNAME }}:${{ MAVEN_PASSWORD }}" \
50+ --url "https://ossrh-staging-api.central.sonatype.com/service/local/staging/deploy/maven2/manual/upload/defaultRepository/com.github.restream"
4751 env :
4852 MAVEN_USERNAME : ${{ secrets.MAVEN_USERNAME_1 }}
4953 MAVEN_PASSWORD : ${{ secrets.MAVEN_PASSWORD_1 }}
Original file line number Diff line number Diff line change 88 <version >9</version >
99 </parent >
1010
11+ <repositories >
12+ <repository >
13+ <id >ossrh-staging-api</id >
14+ <name >Nexus Release Repository</name >
15+ <url >https://ossrh-staging-api.central.sonatype.com/service/local/staging/deploy/maven2/</url >
16+ </repository >
17+ </repositories >
18+
1119 <groupId >com.github.restream</groupId >
1220 <artifactId >rx-connector</artifactId >
1321 <version >1.29-SNAPSHOT</version >
You can’t perform that action at this time.
0 commit comments