Skip to content

Commit 2d98231

Browse files
author
闫茂源
committed
feat: update publish workflow, auto publish to central sonatype
1 parent 13334c7 commit 2d98231

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/publish.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,8 @@ jobs:
2222
- name: Setup Gradle
2323
uses: gradle/actions/setup-gradle@417ae3ccd767c252f5661f1ace9f835f9654f2b5 # v3.1.0
2424

25-
- name: Publish to GitHub Packages
26-
run: ./gradlew publish
25+
- name: Publish to Central Sonatype
26+
run: ./gradlew allPublishToOSSRH
2727
env:
2828
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
2929
GITHUB_ACTOR: ${{ secrets.GITHUB_ACTOR }}

0 commit comments

Comments
 (0)