We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 971810f commit c8b5c1dCopy full SHA for c8b5c1d
1 file changed
.github/workflows/release.yml
@@ -16,6 +16,11 @@ on:
16
description: 'Version of the CLI to bundle'
17
required: false
18
type: string
19
+ publish:
20
+ description: 'Publish package to Maven Central'
21
+ required: false
22
+ default: false
23
+ type: boolean
24
workflow_call:
25
inputs:
26
tag:
@@ -31,6 +36,11 @@ on:
31
36
32
37
33
38
39
40
41
42
43
34
44
35
45
permissions:
46
contents: read
@@ -116,6 +126,7 @@ jobs:
116
126
echo "AID_PROP=${prop}" >> $GITHUB_ENV
117
127
118
128
- name: Publish package
129
+ if: inputs.publish == true
119
130
run: mvn --batch-mode deploy -DskipTests ${{ env.AID_PROP }}
120
131
env:
121
132
MAVEN_USERNAME: ${{ secrets.OSSRH_USERNAME }}
0 commit comments