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 02e0ed6 commit 83b9db5Copy full SHA for 83b9db5
.github/workflows/maven.yml
@@ -20,7 +20,11 @@ jobs:
20
uses: actions/setup-java@v1
21
with:
22
java-version: 1.8
23
+ server-id: github
24
+ server-username: GITHUB_USER_REF
25
+ server-password: GITHUB_TOKEN_REF
26
- name: Build with Maven
27
env:
- token: ${{ secrets.GITHUB_TOKEN }}
28
+ GITHUB_USER_REF: ${{ secrets.GH_PACKAGE_REPO_USERNAME }}
29
+ GITHUB_TOKEN_REF: ${{ secrets.GH_PACKAGE_REPO_PASSWORD }}
30
run: mvn install -s settings.xml -B package --file pom.xml
settings.xml
@@ -23,7 +23,7 @@
<server>
<id>github</id>
<username>Laffini</username>
- <password>${env.token}</password>
+ <password>${env.GITHUB_TOKEN_REF}</password>
</server>
</servers>
</settings>
0 commit comments