Skip to content

Commit 1807a45

Browse files
authored
Update build.yml
1 parent 43eb1a5 commit 1807a45

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

.github/workflows/build.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,5 +22,11 @@ jobs:
2222
java-version: '11'
2323
distribution: 'adopt'
2424
cache: maven
25+
server-id: github
26+
server-username: GITHUB_USER_REF
27+
server-password: GITHUB_TOKEN_REF
2528
- name: Build with Maven
29+
env:
30+
GITHUB_USER_REF: ${{ secrets.GH_PACKAGE_REPO_USERNAME }}
31+
GITHUB_TOKEN_REF: ${{ secrets.GH_PACKAGE_REPO_PASSWORD }}
2632
run: mvn -s settings.xml -B package --file pom.xml

0 commit comments

Comments
 (0)