Add missing credentials to snapshot upload stage

This commit is contained in:
Antonin Delpeuch 2021-12-09 17:58:07 +02:00
parent 5d6da1babb
commit 5579a42d86

View File

@ -137,6 +137,7 @@ jobs:
with: with:
distribution: 'adopt' distribution: 'adopt'
java-version: 11 java-version: 11
server-id: ossrh
server-username: OSSRH_USER server-username: OSSRH_USER
server-password: OSSRH_PASS server-password: OSSRH_PASS
@ -169,5 +170,7 @@ jobs:
- name: Upload snapshot releases to OSSRH - name: Upload snapshot releases to OSSRH
run: mvn deploy -DskipTests=true run: mvn deploy -DskipTests=true
env:
OSSRH_USER: ${{ secrets.OSSRH_USER }}
OSSRH_PASS: ${{ secrets.OSSRH_PASS }}