We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7ce6f39 commit 7db1533Copy full SHA for 7db1533
.github/workflows/release-master.yml
@@ -3,6 +3,15 @@ name: Release Master
3
on:
4
workflow_dispatch:
5
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'
15
16
jobs:
17
build:
@@ -60,7 +69,7 @@ jobs:
60
69
git config --global hub.protocol https
61
70
git remote set-url origin https://\${{ secrets.GITHUB_TOKEN }}:x-oauth-basic@github.com/swagger-api/swagger-codegen.git
62
71
- name: Run maven deploy/release
63
- if: env.RELEASE_OK == 'yes'
72
+ if: env.RELEASE_OK == 'yes' && github.event.inputs.skip_deploy != 'true'
64
73
run: |
65
74
mvn --no-transfer-progress -B -Prelease deploy
66
75
- name: Set up QEMU
0 commit comments