Skip to content

Commit c8c2bfb

Browse files
renaming username variable
1 parent 73aab4c commit c8c2bfb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ jobs:
2323
java-version: '8'
2424
distribution: 'temurin'
2525
server-id: central # Value of the distributionManagement/repository/id field of the pom.xml
26-
server-username: MAVEN_USERNAME # env variable for username in deploy
26+
server-username: MAVEN_PORTAL_USERNAME # env variable for username in deploy
2727
server-password: MAVEN_CENTRAL_TOKEN # env variable for token in deploy
2828
gpg-private-key: ${{ secrets.MAVEN_GPG_PRIVATE_KEY }} # Value of the GPG private key to import
2929
gpg-passphrase: MAVEN_GPG_PASSPHRASE
@@ -34,6 +34,6 @@ jobs:
3434
- name: Publish to Apache Maven Central
3535
run: cd auto-generated-sdk && mvn verify deploy
3636
env:
37-
MAVEN_USERNAME: ${{ secrets.MAVEN_CENTRAL_USERNAME }}
37+
MAVEN__PORTAL_USERNAME: ${{ secrets.MAVEN_CENTRAL_USERNAME }}
3838
MAVEN_CENTRAL_TOKEN: ${{ secrets.MAVEN_CENTRAL_TOKEN }}
3939
MAVEN_GPG_PASSPHRASE: ${{ secrets.MAVEN_GPG_PASSPHRASE }}

0 commit comments

Comments
 (0)