File tree Expand file tree Collapse file tree 1 file changed +10
-1
lines changed
Expand file tree Collapse file tree 1 file changed +10
-1
lines changed Original file line number Diff line number Diff line change @@ -3,6 +3,15 @@ name: Release Master
33on :
44 workflow_dispatch :
55 branches : ["master"]
6+ inputs :
7+ skip_deploy :
8+ description : ' Skip maven deploy (use if artifacts already published to Central)'
9+ required : false
10+ default : ' false'
11+ type : choice
12+ options :
13+ - ' false'
14+ - ' true'
615
716jobs :
817 build :
6069 git config --global hub.protocol https
6170 git remote set-url origin https://\${{ secrets.GITHUB_TOKEN }}:x-oauth-basic@github.com/swagger-api/swagger-codegen.git
6271 - name : Run maven deploy/release
63- if : env.RELEASE_OK == 'yes'
72+ if : env.RELEASE_OK == 'yes' && github.event.inputs.skip_deploy != 'true'
6473 run : |
6574 mvn --no-transfer-progress -B -Prelease deploy
6675 - name : Set up QEMU
You can’t perform that action at this time.
0 commit comments