Skip to content

Commit c86d1ff

Browse files
committed
configure credentials
1 parent 1be67a4 commit c86d1ff

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/build.yaml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,6 +98,8 @@ jobs:
9898
with:
9999
distribution: 'temurin'
100100
java-version: 11
101+
server-username: PUBLISH_USER
102+
server-password: PUBLISH_KEY
101103

102104
- name: publish snapshot
103105
env:
@@ -107,4 +109,4 @@ jobs:
107109
PUBLISH_USER: ${{ secrets.PUBLISH_USER }}
108110
PUBLISH_KEY: ${{ secrets.PUBLISH_KEY }}
109111
run: |
110-
./mvnw --no-transfer-progress deploy -Dusername=${PUBLISH_USER} -Dpassword=${PUBLISH_KEY}
112+
./mvnw --no-transfer-progress deploy

0 commit comments

Comments
 (0)