File tree Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -168,11 +168,12 @@ jobs:
168168 name : vuegen_gui_${{ matrix.os.label }}
169169 path : gui/dist/
170170 - name : Upload MacOS Executable to a GitHub Release)
171- if : startsWith(${{ matrix.os.runner }} , 'macos')
171+ if : startsWith(matrix.os.runner, 'macos')
172172 env :
173173 GH_TOKEN : ${{ secrets.GITHUB_TOKEN }}
174174 run : |
175175 TAG_NAME=${GITHUB_REF#refs/tags/}
176+ echo GITHUB_REF_NAME $GITHUB_REF_NAME
176177 TAG_NAME=v0.3.0-alpha
177178 echo "Uploading vuegen_gui_${{ matrix.os.label }} to release $TAG_NAME"
178179 echo "Available files in build folder: gui/dist/"
@@ -182,11 +183,13 @@ jobs:
182183 echo "Uploading..."
183184 gh release upload $TAG_NAME vuegen_gui_${{ matrix.os.label }}.zip
184185 - name : Upload Windows Executable to a GitHub Release
185- if : startsWith(${{ matrix.os.runner }} , 'windows')
186+ if : startsWith(matrix.os.runner, 'windows')
186187 env :
187188 GH_TOKEN : ${{ secrets.GITHUB_TOKEN }}
188189 run : |
189190 $TAG_NAME = $env:GITHUB_REF -replace 'refs/tags/', ''
191+ echo GITHUB_REF_NAME $GITHUB_REF_NAME
192+ $TAG_NAME= $GITHUB_REF_NAME
190193 $TAG_NAME= v0.3.0-alpha
191194 echo "Uploading vuegen_gui_${{ matrix.os.label }} to release $TAG_NAME"
192195 echo "Available files in build folder: gui/dist/"
You can’t perform that action at this time.
0 commit comments