Skip to content

Commit bfb6430

Browse files
authored
Update deploy.yml to fix release builds
1 parent a0076aa commit bfb6430

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

.github/workflows/deploy.yml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,9 @@ jobs:
1818
with:
1919
java-version: 8
2020
distribution: temurin
21-
overwrite-settings: true
22-
server-id: opencollab-snapshot-repo
23-
server-username: MAVEN_USERNAME
24-
server-password: MAVEN_PASSWORD
21+
- uses: s4u/[email protected]
22+
with:
23+
servers: '[{"id": "opencollab-release-repo", "username": "${env.MAVEN_USERNAME}", "password": "${env.MAVEN_PASSWORD}"},{"id": "opencollab-snapshot-repo", "username": "${env.MAVEN_USERNAME}", "password": "${env.MAVEN_PASSWORD}"}]'
2524
- name: Deploy with Maven
2625
run: mvn deploy -B -P deploy
2726
env:

0 commit comments

Comments
 (0)