Skip to content

Commit a763be2

Browse files
committed
Obviously something went sideways
1 parent ed26187 commit a763be2

File tree

2 files changed

+4
-11
lines changed

2 files changed

+4
-11
lines changed

.github/workflows/deploy.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,15 +14,16 @@ jobs:
1414
with:
1515
distribution: 'adopt'
1616
java-version: '8'
17-
cache: 'maven'
1817
server-id: ossrh
1918
server-username: MAVEN_USERNAME
2019
server-password: MAVEN_PASSWORD
2120
gpg-private-key: ${{ secrets.OSSRH_GPG_SECRET_KEY }}
2221
gpg-passphrase: MAVEN_GPG_PASSPHRASE
2322
- name: 🚀 Deploy artifact
24-
run: mvn -B --no-transfer-progress -DskipTests deploy
23+
run: |
24+
mvn help:effective-settings
25+
mvn -B --no-transfer-progress -DskipTests -DperformRelease=true deploy
2526
env:
2627
MAVEN_USERNAME: ${{ secrets.OSSRH_USERNAME }}
27-
MAVEN_PASSWORD: ${{ secrets.OSSRH_TOKEN }}
28+
MAVEN_PASSWORD: ${{ secrets.OSSRH_PASSWORD }}
2829
MAVEN_GPG_PASSPHRASE: ${{ secrets.OSSRH_GPG_SECRET_KEY_PASSWORD }}

pom.xml

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -358,14 +358,6 @@
358358
<profiles>
359359
<profile>
360360
<id>ossrh</id>
361-
<properties>
362-
<gpg.executable>gpg</gpg.executable>
363-
<gpg.keyname>${env.GPG_KEYNAME}</gpg.keyname>
364-
<gpg.passphrase>${env.GPG_PASSPHRASE}</gpg.passphrase>
365-
<gpg.defaultKeyring>false</gpg.defaultKeyring>
366-
<gpg.publicKeyring>${env.GPG_DIR}/pubring.gpg</gpg.publicKeyring>
367-
<gpg.secretKeyring>${env.GPG_DIR}/secring.gpg</gpg.secretKeyring>
368-
</properties>
369361
<activation>
370362
<property>
371363
<name>performRelease</name>

0 commit comments

Comments
 (0)