File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -27,6 +27,11 @@ inputs:
2727 previous-tag :
2828 description : ' The previous tag to use for generating release notes.'
2929 required : true
30+ skip-github-release :
31+ description : ' Whether to skip creating a GitHub release.'
32+ type : ' boolean'
33+ required : false
34+ default : false
3035 working-directory :
3136 description : ' The working directory to run the steps in.'
3237 required : false
@@ -132,7 +137,7 @@ runs:
132137
133138 - name : ' 🎉 Create GitHub Release'
134139 working-directory : ' ${{ inputs.working-directory }}'
135- if : " ${{ inputs.dry-run == 'false' }}"
140+ if : " ${{ inputs.dry-run == 'false' && inputs.skip-github-release == 'false' }}"
136141 env :
137142 GITHUB_TOKEN : ' ${{ inputs.github-token }}'
138143 shell : ' bash'
Original file line number Diff line number Diff line change 3131 required : false
3232 type : ' boolean'
3333 default : false
34+ skip_github_release :
35+ description : ' Select to skip creating a GitHub release and create a npm release only.'
36+ required : false
37+ type : ' boolean'
38+ default : false
3439
3540jobs :
3641 release :
8085 github-token : ' ${{ secrets.GITHUB_TOKEN }}'
8186 dry-run : ' ${{ github.event.inputs.dry_run }}'
8287 previous-tag : ' ${{ steps.release_info.outputs.PREVIOUS_TAG }}'
88+ skip-github-release : ' ${{ github.event.inputs.skip_github_release }}'
You can’t perform that action at this time.
0 commit comments