Skip to content

Commit 83b9db5

Browse files
committed
Attempt to fix CI issues
1 parent 02e0ed6 commit 83b9db5

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

.github/workflows/maven.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,11 @@ jobs:
2020
uses: actions/setup-java@v1
2121
with:
2222
java-version: 1.8
23+
server-id: github
24+
server-username: GITHUB_USER_REF
25+
server-password: GITHUB_TOKEN_REF
2326
- name: Build with Maven
2427
env:
25-
token: ${{ secrets.GITHUB_TOKEN }}
28+
GITHUB_USER_REF: ${{ secrets.GH_PACKAGE_REPO_USERNAME }}
29+
GITHUB_TOKEN_REF: ${{ secrets.GH_PACKAGE_REPO_PASSWORD }}
2630
run: mvn install -s settings.xml -B package --file pom.xml

settings.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
<server>
2424
<id>github</id>
2525
<username>Laffini</username>
26-
<password>${env.token}</password>
26+
<password>${env.GITHUB_TOKEN_REF}</password>
2727
</server>
2828
</servers>
2929
</settings>

0 commit comments

Comments
 (0)