Skip to content

Commit

Permalink
Fix release.yml (#829)
Browse files Browse the repository at this point in the history
  • Loading branch information
pivovarit authored Jan 27, 2024
1 parent 05c40fb commit aa8bdea
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,15 +26,15 @@ jobs:
java-version: ${{ matrix.java }}
architecture: ${{ matrix.architecture }}
cache: 'maven'
server-id: ossrh
server-id: oss.sonatype.org
server-username: MAVEN_USERNAME
server-password: MAVEN_PASSWORD
gpg-private-key: ${{ secrets.MAVEN_GPG_PRIVATE_KEY }}
gpg-passphrase: MAVEN_GPG_PASSPHRASE


- name: Release with Maven
run: mvn --batch-mode --no-transfer-progress -DskipTests deploy
run: mvn -B deploy --no-transfer-progress -P central-deploy -DskipTests=true
env:
MAVEN_USERNAME: ${{ secrets.OSSRH_USERNAME }}
MAVEN_PASSWORD: ${{ secrets.OSSRH_TOKEN }}
Expand Down
3 changes: 1 addition & 2 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,6 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-gpg-plugin</artifactId>
<version>3.1.0</version>
<executions>
<execution>
<id>sign-artifacts</id>
Expand Down Expand Up @@ -156,7 +155,7 @@
</execution>
</executions>
<configuration>
<serverId>ossrh</serverId>
<serverId>oss.sonatype.org</serverId>
<nexusUrl>https://oss.sonatype.org</nexusUrl>
</configuration>
</plugin>
Expand Down

0 comments on commit aa8bdea

Please sign in to comment.