File tree Expand file tree Collapse file tree 1 file changed +16
-2
lines changed Expand file tree Collapse file tree 1 file changed +16
-2
lines changed Original file line number Diff line number Diff line change @@ -173,9 +173,23 @@ jobs:
173173 GH_TOKEN : ${{ secrets.GITHUB_TOKEN }}
174174 run : |
175175 TAG_NAME=${GITHUB_REF#refs/tags/}
176- TAG_NAME=0 .3.0-alpha
176+ TAG_NAME=v0 .3.0-alpha
177177 echo "Uploading vuegen_gui_${{ matrix.os.label }} to release $TAG_NAME"
178+ echo "Available files in build folder: gui/dist/"
178179 ls gui/dist/
179- gh release upload "$TAG_NAME" gui/dist/vuegen_gui.app#vuegen_gui_${{ matrix.os.label }}.app
180+ echo "Uploading..."
181+ gh release upload $TAG_NAME gui/dist/vuegen_gui.app#vuegen_gui_${{ matrix.os.label }}.app
182+ - name : Upload Executable to a GitHub Release)
183+ if : startsWith(${{ matrix.os.runner }}, 'windows')
184+ env :
185+ GH_TOKEN : ${{ secrets.GITHUB_TOKEN }}
186+ run : |
187+ TAG_NAME=${GITHUB_REF#refs/tags/}
188+ TAG_NAME=v0.3.0-alpha
189+ echo "Uploading vuegen_gui_${{ matrix.os.label }} to release $TAG_NAME"
190+ echo "Available files in build folder: gui/dist/"
191+ ls gui/dist/
192+ echo "Uploading..."
193+ gh release upload $TAG_NAME gui/dist/vuegen_gui.exe#vuegen_gui_${{ matrix.os.label }}.exe
180194 # https://cli.github.com/manual/gh_release_upload
181195 # either .app or .exe depending on the OS
You can’t perform that action at this time.
0 commit comments