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"
2
2
3
3
on :
4
4
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
5
11
6
12
env :
7
13
VERSION_FILE : gradle.properties
25
31
version-file : ${{ env.VERSION_FILE }}
26
32
version-file-extraction-pattern : ${{ env.VERSION_PATTERN }}
27
33
build-and-test :
34
+ if : github.event.inputs.skip-publication != 'true' || !cancelled()
28
35
uses : ./.github/workflows/build-and-test.yml
29
36
publish_artifacts :
30
37
# permissions required for sigstore signature
34
41
needs :
35
42
- version
36
43
- build-and-test
44
+ if : github.event.inputs.skip-publication != 'true' || !cancelled()
37
45
runs-on : macos-latest
38
46
steps :
39
47
- name : ' Checkout Repository'
79
87
needs :
80
88
- publish_artifacts
81
89
- version
90
+ if : github.event.inputs.skip-publication == 'true' || !cancelled()
82
91
steps :
83
92
- name : ' Checkout Repository'
84
93
uses : actions/checkout@v4
You can’t perform that action at this time.
0 commit comments