Skip to content

Commit 2e3e6ed

Browse files
committed
Updated workflow to include publishing to maven central.
1 parent 5d8f5ae commit 2e3e6ed

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

.github/workflows/gradle-publish.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,3 +42,10 @@ jobs:
4242
env:
4343
USERNAME: ${{ github.actor }}
4444
TOKEN: ${{ secrets.GITHUB_TOKEN }}
45+
46+
- name: Publish to Maven Central
47+
run: ./gradlew publishToMavenCentral
48+
env:
49+
ORG_GRADLE_PROJECT_mavenCentralUsername: ${{ secrets.MAVEN_CENTRAL_USERNAME }}
50+
ORG_GRADLE_PROJECT_mavenCentralPassword: ${{ secrets.MAVEN_CENTRAL_PASSWORD }}
51+
ORG_GRADLE_PROJECT_signingInMemoryKey: ${{ secrets.SIGNING_PRIVATE_KEY }}

0 commit comments

Comments
 (0)