Skip to content

Commit 3c46125

Browse files
committed
Disable Trigger for Publish to maven
1 parent bfb4009 commit 3c46125

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

.github/workflows/publish-maven-central.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,6 @@ name: Publish to Maven Central
66
# We would like to publish to maven central for both snapshot and release versions.
77
on:
88
push:
9-
branches: [ master ]
10-
119

1210
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
1311
jobs:
@@ -35,7 +33,7 @@ jobs:
3533
# FIXME Check https://github.com/allure-framework/allure2/blob/430255d8cf5c236ed29bc0df0b72dcd9389c3df9/.github/workflows/release.yaml
3634
- name: Publish release
3735
run: |
38-
./gradlew -PghNexusUsername=${{ secrets.SONATYPE_USER }} -PghNexusPassword=${{ secrets.SONATYPE_PASSWORD }} -Psigning.secretKeyRingFile=$HOME/.gnupg/secring.gpg -Psigning.password="" -Psigning.keyId=${{ secrets.GPG_KEY_ID }} -Prc=1 prepareVote
36+
./gradlew -PghDryRun -PghNexusUsername=${{ secrets.SONATYPE_USER }} -PghNexusPassword=${{ secrets.SONATYPE_PASSWORD }} -Psigning.secretKeyRingFile=$HOME/.gnupg/secring.gpg -Psigning.password="" -Psigning.keyId=${{ secrets.GPG_KEY_ID }} -Prc=1 prepareVote
3937
4038
- name: Display next step
4139
run: |

0 commit comments

Comments
 (0)