Skip to content

Commit 9732627

Browse files
committed
Automatically deploy snapshots to central (attempt 2)
1 parent ee27c4c commit 9732627

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

.github/workflows/snapshot.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,12 @@ jobs:
1919
server-id: central
2020
server-username: SONATYPE_USERNAME
2121
server-password: SONATYPE_PASSWORD
22+
gpg-private-key: GPG_PRIVATE_KEY
23+
gpg-passphrase: GPG_PASSPHRASE
2224
- name: Deploy snapshot
23-
run: mvn clean deploy -P release
25+
run: mvn -ntp clean deploy -P release
2426
env:
2527
SONATYPE_USERNAME: ${{ secrets.SONATYPE_USERNAME }}
26-
SONATYPE_PASSWORD: ${{ secrets.SONATYPE_PASSWORD }}
28+
SONATYPE_PASSWORD: ${{ secrets.SONATYPE_PASSWORD }}
29+
GPG_PRIVATE_KEY: ${{ secrets.GPG_PRIVATE_KEY }}
30+
GPG_PASSPHRASE: ${{ secrets.GPG_PASSPHRASE }}

0 commit comments

Comments
 (0)