File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 3737 uses : actions/setup-java@v1
3838 with :
3939 java-version : 1.11
40- server-id : ossrh-staging-api
40+ server-id : sonatype-nexus-staging
4141 server-username : MAVEN_USERNAME
4242 server-password : MAVEN_PASSWORD
4343 gpg-passphrase : MAVEN_GPG_PASSPHRASE
4646 run : |
4747 mvn --batch-mode release:perform -Psign-artifacts
4848 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"
49+ --user "${{ secrets.MAVEN_USERNAME_1 }}:${{ secrets.MAVEN_PASSWORD_1 }}" \
50+ --url "https://ossrh-staging-api.central.sonatype.com/manual/upload/defaultRepository/com.github.restream"
5151 env :
5252 MAVEN_USERNAME : ${{ secrets.MAVEN_USERNAME_1 }}
5353 MAVEN_PASSWORD : ${{ secrets.MAVEN_PASSWORD_1 }}
Original file line number Diff line number Diff line change 22<project xmlns =" http://maven.apache.org/POM/4.0.0" xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance" xsi : schemaLocation =" http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" >
33 <modelVersion >4.0.0</modelVersion >
44
5- <parent >
6- <groupId >org.sonatype.oss</groupId >
7- <artifactId >oss-parent</artifactId >
8- <version >9</version >
9- </parent >
10-
11- <repositories >
5+ <distributionManagement >
126 <repository >
13- <id >ossrh-staging-api </id >
7+ <id >sonatype-nexus-staging </id >
148 <name >Nexus Release Repository</name >
159 <url >https://ossrh-staging-api.central.sonatype.com/service/local/staging/deploy/maven2/</url >
1610 </repository >
17- </repositories >
11+ </distributionManagement >
1812
1913 <groupId >com.github.restream</groupId >
2014 <artifactId >rx-connector</artifactId >
You can’t perform that action at this time.
0 commit comments