File tree Expand file tree Collapse file tree 1 file changed +5
-11
lines changed
Expand file tree Collapse file tree 1 file changed +5
-11
lines changed Original file line number Diff line number Diff line change 11name : Build
22on :
3- push :
43 workflow_dispatch :
4+ push :
55
66env :
77 BINARY_NAME : pluginval
@@ -153,11 +153,11 @@ jobs:
153153
154154 # Create release for tagged refs
155155 deploy :
156- if : startsWith (github.ref, 'refs/ tags/')
156+ if : contains (github.ref, 'tags/v ')
157157 needs : build
158158 runs-on : ubuntu-latest
159159 steps :
160-
160+ # Needed to grab CHANGELIST.md
161161 - uses : actions/checkout@v3
162162
163163 - name : Get Artifacts
@@ -167,18 +167,12 @@ jobs:
167167
168168 - name : Display structure of downloaded files
169169 run : ls -la
170-
171- - name : Set tag name variable
172- shell : bash
173- run : |
174- REF=${GITHUB_REF}
175- echo "TAG_NAME=${REF##*/}" >> $GITHUB_ENV
176170
177171 - name : Create Release
178172 uses : softprops/action-gh-release@v1
179173 with :
180- tag_name : ${{ env.TAG_NAME }}
181- name : ${{ env.TAG_NAME }}
174+ tag_name : ${{ github.ref }}
175+ name : ${{ github.ref }}
182176 body_path : CHANGELIST.md
183177 draft : true
184178 files : |
You can’t perform that action at this time.
0 commit comments