Skip to content

Commit

Permalink
bugfix
Browse files Browse the repository at this point in the history
  • Loading branch information
nk-coding committed Jun 27, 2024
1 parent 406dc48 commit 93c8ff5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/deploySettings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@
<servers>
<server>
<id>central</id>
<username>${github.user}</username>
<password>${github.token}</password>
<username>${central.user}</username>
<password>${central.password}</password>
</server>
</servers>
</settings>
2 changes: 1 addition & 1 deletion .github/workflows/releaseToMavenCentral.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand Down

0 comments on commit 93c8ff5

Please sign in to comment.