Skip to content

Commit 414e812

Browse files
committedSep 4, 2024
Fix release CI
1 parent c3e4442 commit 414e812

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed
 

‎.github/workflows/publish.yml

+3-4
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ name: Publish
33
on:
44
release:
55
types:
6-
- created
6+
[created]
77

88
jobs:
99
publish:
@@ -25,8 +25,7 @@ jobs:
2525
uses: gradle/actions/setup-gradle@v4
2626

2727
- name: Publish to Maven Central
28-
run: ./gradlew amuze:assembleRelease
29-
# run: ./gradlew amuze:publishAllPublicationsToMavenCentral
28+
run: ./gradlew amuze:publishAllPublicationsToMavenCentral
3029
env:
3130
ORG_GRADLE_PROJECT_mavenCentralUsername: ${{ secrets.SONATYPE_USERNAME }}
3231
ORG_GRADLE_PROJECT_mavenCentralPassword: ${{ secrets.SONATYPE_PASSWORD }}
@@ -35,7 +34,7 @@ jobs:
3534
ORG_GRADLE_PROJECT_signingInMemoryKeyPassword: ${{ secrets.SIGNING_PASSWORD }}
3635

3736
- name: Publish to Github Packages
38-
run: ./gradlew amuze:assembleDebug
37+
run: ./gradlew amuze:publish
3938

4039
env:
4140
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)