Skip to content

Commit 1251969

Browse files
committed
Update GitHub workflow to publish to Maven Central
1 parent bb1ff3b commit 1251969

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

.github/workflows/release.yaml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,9 @@ jobs:
1818
with:
1919
distribution: 'zulu'
2020
java-version: 19
21-
22-
# TODO:
23-
#- run: ./gradlew build publish
21+
- name: Build and publish artifacts
22+
env:
23+
ORG_GRADLE_PROJECT_mavenCentralUsername: ${{ secrets.MAVEN_CENTRAL_USERNAME }}
24+
ORG_GRADLE_PROJECT_mavenCentralPassword: ${{ secrets.MAVEN_CENTRAL_PASSWORD }}
25+
ORG_GRADLE_PROJECT_signingInMemoryKey: ${{ secrets.SIGNING_KEY }}
26+
run: ./gradlew build publish

0 commit comments

Comments
 (0)