Skip to content

Commit f156e24

Browse files
committed
Fix deploy-snapshots CI job
1 parent 2a623b3 commit f156e24

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

.github/workflows/build.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,5 +43,8 @@ jobs: # TODO is there a way to extract common config and share artifacts between
4343
with:
4444
java-version: 11
4545
- name: deploy snapshots to sonatype
46+
env:
47+
SONATYPE_USERNAME: ${{ secrets.SONATYPE_USERNAME }}
48+
SONATYPE_PASSWORD: ${{ secrets.SONATYPE_PASSWORD }}
4649
run: |
47-
mvn -Dmaven.test.skip=true deploy
50+
mvn -s .mvn/settings.xml -Dmaven.test.skip=true deploy

0 commit comments

Comments
 (0)