We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 516a1fd commit 54e5106Copy full SHA for 54e5106
.github/workflows/maven.yml
@@ -168,6 +168,9 @@ jobs:
168
with:
169
distribution: 'temurin'
170
java-version: '11'
171
+ server-id: 'ossrh'
172
+ server-username: OSSRH_USERNAME
173
+ server-password: OSSRH_TOKEN
174
175
- name: Cache Maven dependencies
176
uses: actions/cache@v3
@@ -181,7 +184,7 @@ jobs:
181
184
182
185
- name: Deploy with Maven
183
186
id: maven-build
- run: mvn -B -U -ntp -s .github/workflows/settings.xml source:jar deploy -Dmaven.test.skip=true -Dinvoker.skip=true
187
+ run: mvn -B -U -ntp source:jar deploy -Dmaven.test.skip=true -Dinvoker.skip=true
188
env:
189
OSSRH_USERNAME: ${{ secrets.OSSRH_USERNAME }}
190
OSSRH_TOKEN: ${{ secrets.OSSRH_TOKEN }}
.github/workflows/settings.xml
0 commit comments