Skip to content

Commit 05d3b47

Browse files
committed
maven-publish-fix - fixing maven central publish
Signed-off-by: Krzysztof Chmielewski <[email protected]>
1 parent 0d9bb19 commit 05d3b47

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

.github/workflows/publish.yml

+2-5
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,6 @@ env:
1313
jobs:
1414
build:
1515
runs-on: ubuntu-latest
16-
permissions:
17-
contents: read
18-
packages: write
1916
steps:
2017
- uses: actions/checkout@v4
2118

@@ -42,8 +39,8 @@ jobs:
4239
java-version: '11'
4340
distribution: 'temurin'
4441
server-id: ossrh
45-
server-username: ${{ secrets.SONATYPE_TOKEN_USERNAME }}
46-
server-password: testMe
42+
server-username: MAVEN_USERNAME
43+
server-password: MAVEN_PASSWORD
4744
gpg-private-key: ${{ secrets.GPG_PRIVATE_KEY }}
4845
gpg-passphrase: GPG_PRIVATE_KEY_PASSWORD
4946

0 commit comments

Comments
 (0)