File tree 1 file changed +3
-2
lines changed
1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -68,14 +68,15 @@ jobs:
68
68
69
69
https://central.sonatype.com/api/v1/publisher/upload?publishingType=AUTOMATIC&name=${{ env.TAG_PREFIX }}-${{ steps.version.outputs.new_version }}
70
70
- name : Push tag
71
+ if : ${{ !inputs.pages-only }}
71
72
id : tag_version
72
73
uses :
mathieudutour/[email protected]
73
74
with :
74
75
github_token : ${{ secrets.GITHUB_TOKEN }}
75
76
custom_tag : ${{ steps.version.outputs.new_version }}
76
77
tag_prefix : ${{ env.TAG_PREFIX }}
77
78
- name : Create GitHub Release
78
- if : ${{ inputs.version-bump != 'keep' }}
79
+ if : ${{ !inputs.pages-only && inputs.version-bump != 'keep' }}
79
80
uses : actions/create-release@v1
80
81
env :
81
82
GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
85
86
draft : false
86
87
prerelease : false
87
88
- name : Move version tag
88
- if : ${{ inputs.version-bump == 'keep' }}
89
+ if : ${{ !inputs.pages-only && inputs.version-bump == 'keep' }}
89
90
uses : richardsimko/update-tag@v1
90
91
with :
91
92
tag_name : ${{ env.TAG_PREFIX }}${{ steps.version.outputs.new_version }}
You can’t perform that action at this time.
0 commit comments