File tree Expand file tree Collapse file tree 1 file changed +9
-0
lines changed Expand file tree Collapse file tree 1 file changed +9
-0
lines changed Original file line number Diff line number Diff line change @@ -2,6 +2,12 @@ name: "Create release"
22
33on :
44 workflow_dispatch :
5+ inputs :
6+ skip-publication :
7+ description : ' Skip publication of artifacts to Maven Central'
8+ required : false
9+ default : false
10+ type : boolean
511
612env :
713 VERSION_FILE : gradle.properties
2531 version-file : ${{ env.VERSION_FILE }}
2632 version-file-extraction-pattern : ${{ env.VERSION_PATTERN }}
2733 build-and-test :
34+ if : github.event.inputs.skip-publication != 'true' || !cancelled()
2835 uses : ./.github/workflows/build-and-test.yml
2936 publish_artifacts :
3037 # permissions required for sigstore signature
3441 needs :
3542 - version
3643 - build-and-test
44+ if : github.event.inputs.skip-publication != 'true' || !cancelled()
3745 runs-on : macos-latest
3846 steps :
3947 - name : ' Checkout Repository'
7987 needs :
8088 - publish_artifacts
8189 - version
90+ if : github.event.inputs.skip-publication == 'true' || !cancelled()
8291 steps :
8392 - name : ' Checkout Repository'
8493 uses : actions/checkout@v4
You can’t perform that action at this time.
0 commit comments