Skip to content

Commit 4228709

Browse files
committed
🐛 missed v prefix...
- try directly with Windows
1 parent 5f4ffb2 commit 4228709

File tree

1 file changed

+16
-2
lines changed

1 file changed

+16
-2
lines changed

.github/workflows/cdci.yml

Lines changed: 16 additions & 2 deletions
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)