From 93c8ff5f40d00ecb0f046cbe127177eb3588fa83 Mon Sep 17 00:00:00 2001 From: nk-coding Date: Thu, 27 Jun 2024 16:26:50 +0200 Subject: [PATCH] bugfix --- .github/workflows/deploySettings.xml | 4 ++-- .github/workflows/releaseToMavenCentral.yml | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/deploySettings.xml b/.github/workflows/deploySettings.xml index bee52a49..39bd1183 100644 --- a/.github/workflows/deploySettings.xml +++ b/.github/workflows/deploySettings.xml @@ -6,8 +6,8 @@ central - ${github.user} - ${github.token} + ${central.user} + ${central.password} diff --git a/.github/workflows/releaseToMavenCentral.yml b/.github/workflows/releaseToMavenCentral.yml index 6dccf79d..13efe846 100644 --- a/.github/workflows/releaseToMavenCentral.yml +++ b/.github/workflows/releaseToMavenCentral.yml @@ -15,7 +15,7 @@ jobs: server-id: github # Value of the distributionManagement/repository/id field of the pom.xml settings-path: ${{ github.workspace }} # location for the settings.xml file - name: Publish package - run: ./mvnw -s "${{ github.workspace }}/scriptsAndTools/internalOrCiOnly/deploySettings.xml" deploy -Dcentral.user=$MAVEN_CENTRAL_USER -Dcentral.token=$MAVEN_CENTRAL_PASSWORD + run: ./mvnw -s "${{ github.workspace }}/scriptsAndTools/internalOrCiOnly/deploySettings.xml" deploy -Dcentral.user=$MAVEN_CENTRAL_USER -Dcentral.password=$MAVEN_CENTRAL_PASSWORD env: MAVEN_CENTRAL_USER: ${{ secrets.MAVEN_CENTRAL_USER }} MAVEN_CENTRAL_PASSWORD: ${{ secrets.MAVEN_CENTRAL_PASSWORD }}