File tree Expand file tree Collapse file tree 1 file changed +10
-2
lines changed Expand file tree Collapse file tree 1 file changed +10
-2
lines changed Original file line number Diff line number Diff line change @@ -134,8 +134,6 @@ jobs:
134134 python-version : ["3.12"]
135135 os :
136136 # https://docs.github.com/en/actions/writing-workflows/choosing-what-your-workflow-does/running-variations-of-jobs-in-a-workflow#example-using-a-multi-dimension-matrix
137- - runner : " ubuntu-latest"
138- label : " ubuntu-latest_LTS-x64"
139137 - runner : " macos-13"
140138 label : " macos-13-x64"
141139 - runner : " macos-15"
@@ -169,3 +167,13 @@ jobs:
169167 with :
170168 name : vuegen_gui_${{ matrix.os.label }}
171169 path : gui/dist/
170+ - name : Upload Executable to a GitHub Release
171+ if : startsWith(github.ref, 'refs/tags')
172+ env :
173+ GH_TOKEN : ${{ secrets.GITHUB_TOKEN }}
174+ run : |
175+ TAG_NAME=${GITHUB_REF#refs/tags/}
176+ cp
177+ gh release upload "$TAG_NAME" gui/dist/vuegen_gui.*#vuegen_gui_${{ matrix.os.label }}
178+ # https://cli.github.com/manual/gh_release_upload
179+ # either .app or .exe depending on the OS
You can’t perform that action at this time.
0 commit comments