Skip to content

Commit ae49a64

Browse files
committed
attempt to release
1 parent a13a92d commit ae49a64

2 files changed

Lines changed: 5 additions & 3 deletions

File tree

.github/workflows/release.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,12 @@ jobs:
1616
server-id: ossrh
1717
server-username: MAVEN_USERNAME
1818
server-password: MAVEN_PASSWORD
19-
cache: maven
19+
gpg-private-key: ${{ secrets.GPG_PRIVATE_KEY }}
20+
gpg-passphrase: GPG_PASSPHRASE
2021
- name: Publish package
21-
run: mvn -B deploy -DskipTests
22+
run: mvn -B clean deploy -Psign -DskipTests
2223
env:
2324
ALEPH_ALPHA_API_KEY: ${{ secrets.ALEPH_ALPHA_API_KEY }}
25+
GPG_PASSPHRASE: ${{ secrets.GPG_PASSPHRASE }}
2426
MAVEN_USERNAME: ${{ secrets.OSSRH_USERNAME }}
2527
MAVEN_PASSWORD: ${{ secrets.OSSRH_TOKEN }}

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@
140140
<repository>
141141
<id>ossrh</id>
142142
<name>Central Repository OSSRH</name>
143-
<url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url>
143+
<url>https://s01.oss.sonatype.org/content/repositories/snapshots</url>
144144
</repository>
145145
</distributionManagement>
146146

0 commit comments

Comments
 (0)