Skip to content

Commit cffc523

Browse files
authored
Merge pull request #44 from cryptlex/ahmad/maven-publish
ci: update config
2 parents 886b07b + 30ef0bf commit cffc523

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

.github/workflows/maven-publish.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ jobs:
6060
run: mvn -B versions:set -DnewVersion=${{ github.event.inputs.packageVersion }} -DgenerateBackupPoms=false
6161

6262
- name: Publish to Central Portal
63-
run: mvn -B -e -X clean deploy -Pdeploy -Drevision=${{ github.event.inputs.packageVersion }} -Dgpg.passphrase=${{ secrets.GPG_PASSPHRASE }}
63+
run: mvn -B -e clean deploy -Pdeploy -Drevision=${{ github.event.inputs.packageVersion }} -Dgpg.passphrase=${{ secrets.GPG_PASSPHRASE }}
6464
env:
6565
CENTRAL_USERNAME: ${{ secrets.MAVEN_USERNAME }}
6666
CENTRAL_PASSWORD: ${{ secrets.MAVEN_PASSWORD }} # Central Portal token

pom.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,7 @@
8888
<configuration>
8989
<publishingServerId>central</publishingServerId>
9090
<autoPublish>true</autoPublish>
91+
<tokenAuth>true</tokenAuth>
9192
<waitUntil>published</waitUntil>
9293
</configuration>
9394
</plugin>

0 commit comments

Comments
 (0)