We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dbf5fa4 commit b1cb48eCopy full SHA for b1cb48e
.github/settings.xml
@@ -6,8 +6,8 @@
6
<servers>
7
<server>
8
<id>github</id>
9
- <username>${env.GITHUB_ACTOR}</username>
10
- <password>${env.GITHUB_TOKEN}</password>
+ <username>${env.MAVEN_USERNAME}</username>
+ <password>${env.MAVEN_PASSWORD}</password>
11
</server>
12
</servers>
13
</settings>
.github/workflows/maven.yml
@@ -26,4 +26,6 @@ jobs:
26
run: mvn deploy -Dmaven.javadoc.skip=true -s .github/settings.xml
27
env:
28
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
29
- GITHUB_ACTOR: ${{ github.actor }}
+ GITHUB_ACTOR: ${{ github.actor }}
30
+ MAVEN_USERNAME: ${{ github.actor }}
31
+ MAVEN_PASSWORD: ${{ secrets.GITHUB_TOKEN }}
0 commit comments