8000
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 721f09f commit 9f3d369Copy full SHA for 9f3d369
.github/workflows/release.yml
@@ -16,10 +16,15 @@ jobs:
16
with:
17
java-version: 8
18
distribution: temurin
19
+ server-id: default
20
+ server-username: MAVEN_USERNAME
21
+ server-password: MAVEN_CENTRAL_TOKEN
22
- name: Set version
23
run: ./mvnw versions:set -DnewVersion="${{github.event.release.tag_name}}"
24
# TODO check main's CI status
25
- name: Deploy with Maven
26
env:
27
MAVEN_DEPLOYMENT_REPOSITORY: ${{ secrets.MAVEN_DEPLOYMENT_REPOSITORY }}
28
+ MAVEN_USERNAME: ${{ secrets.OSSRH_USERNAME }}
29
+ MAVEN_CENTRAL_TOKEN: ${{ secrets.OSSRH_PASSWORD }}
30
run: ./mvnw deploy -DaltReleaseDeploymentRepository="$MAVEN_DEPLOYMENT_REPOSITORY" -DskipTests
0 commit comments