File tree Expand file tree Collapse file tree 2 files changed +12
-1
lines changed
Expand file tree Collapse file tree 2 files changed +12
-1
lines changed 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
@@ -138,7 +143,7 @@ runs:
138143
139144 - name : ' 🎉 Create GitHub Release'
140145 working-directory : ' ${{ inputs.working-directory }}'
141- if : " ${{ inputs.dry-run == 'false' }}"
146+ if : " ${{ inputs.dry-run == 'false' && inputs.skip_github_release == 'false' }}"
142147 env :
143148 GITHUB_TOKEN : ' ${{ inputs.github-token }}'
144149 shell : ' bash'
Original file line number Diff line number Diff line change 2929 required : false
3030 type : ' boolean'
3131 default : false
32+ skip_github_release :
33+ description : ' Select to skip creating a GitHub release and create a npm release only.'
34+ required : false
35+ type : ' boolean'
36+ default : false
3237
3338jobs :
3439 release :
7883 github-token : ' ${{ secrets.GITHUB_TOKEN }}'
7984 dry-run : ' ${{ github.event.inputs.dry_run }}'
8085 previous-tag : ' ${{ steps.release_info.outputs.PREVIOUS_TAG }}'
86+ skip_github_release : ' ${{ github.event.inputs.skip_github_release }}'
You can’t perform that action at this time.
0 commit comments