Skip to content

Commit 5f4ffb2

Browse files
committed
🐛 try to run it only for mac for now, specify .app
1 parent 1566e73 commit 5f4ffb2

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/cdci.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -168,12 +168,14 @@ jobs:
168168
name: vuegen_gui_${{ matrix.os.label }}
169169
path: gui/dist/
170170
- name: Upload Executable to a GitHub Release)
171+
if: startsWith(${{ matrix.os.runner }}, 'macos')
171172
env:
172173
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
173174
run: |
174175
TAG_NAME=${GITHUB_REF#refs/tags/}
175176
TAG_NAME=0.3.0-alpha
176177
echo "Uploading vuegen_gui_${{ matrix.os.label }} to release $TAG_NAME"
177-
gh release upload "$TAG_NAME" gui/dist/vuegen_gui.*#vuegen_gui_${{ matrix.os.label }}
178+
ls gui/dist/
179+
gh release upload "$TAG_NAME" gui/dist/vuegen_gui.app#vuegen_gui_${{ matrix.os.label }}.app
178180
# https://cli.github.com/manual/gh_release_upload
179181
# either .app or .exe depending on the OS

0 commit comments

Comments
 (0)