Skip to content

Commit 2d6616e

Browse files
committed
Switch to tokens for maven snapshots & central
1 parent 6c76dbc commit 2d6616e

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

.github/workflows/publish-release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ jobs:
3838
run: >-
3939
./gradlew
4040
-PreleaseVersion=${{ github.ref_name }}
41-
-PsonatypeUsername=${{ secrets.OSSRH_USER }} -PsonatypePassword=${{ secrets.OSSRH_PASS }}
41+
-PsonatypeUsername=${{ secrets.OSSRH_TOKEN_USER }} -PsonatypePassword=${{ secrets.OSSRH_TOKEN_PASS }}
4242
publishToSonatype closeAndReleaseSonatypeStagingRepository
4343
-x test
4444
env:

.github/workflows/publish-snapshot.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,7 @@ jobs:
3333
- name: Publish Maven Artifacts (Snapshot)
3434
run: >-
3535
./gradlew
36-
-PsonatypeUsername=${{ secrets.OSSRH_USER }}
37-
-PsonatypePassword=${{ secrets.OSSRH_PASS }}
36+
-PsonatypeUsername=${{ secrets.OSSRH_TOKEN_USER }} -PsonatypePassword=${{ secrets.OSSRH_TOKEN_PASS }}
3837
publishToSonatype
3938
4039
- name: Publish Documentation

0 commit comments

Comments
 (0)