Skip to content

Commit fbf875b

Browse files
committed
Improved publish github workflow
1 parent b64f32c commit fbf875b

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

.github/workflows/publish.yml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,7 @@ name: Publish to Maven Central
22

33
on:
44
release:
5-
types:
6-
- created
5+
types: [published]
76

87
jobs:
98
publish:
@@ -26,5 +25,3 @@ jobs:
2625
ORG_GRADLE_PROJECT_sonatypeUsername: ${{ secrets.SONATYPE_USERNAME }}
2726
ORG_GRADLE_PROJECT_sonatypePassword: ${{ secrets.SONATYPE_PASSWORD }}
2827
run: ./gradlew publishToSonatype closeAndReleaseSonatypeStagingRepository
29-
30-

0 commit comments

Comments
 (0)