File tree Expand file tree Collapse file tree 1 file changed +7
-5
lines changed Expand file tree Collapse file tree 1 file changed +7
-5
lines changed Original file line number Diff line number Diff line change @@ -167,7 +167,7 @@ jobs:
167167 with :
168168 name : vuegen_gui_${{ matrix.os.label }}
169169 path : gui/dist/
170- - name : Upload Executable to a GitHub Release)
170+ - name : Upload MacOS Executable to a GitHub Release)
171171 if : startsWith(${{ matrix.os.runner }}, 'macos')
172172 env :
173173 GH_TOKEN : ${{ secrets.GITHUB_TOKEN }}
@@ -177,15 +177,17 @@ jobs:
177177 echo "Uploading vuegen_gui_${{ matrix.os.label }} to release $TAG_NAME"
178178 echo "Available files in build folder: gui/dist/"
179179 ls gui/dist/
180+ echo "Zip .app folder"
181+ zip -r vuegen_gui_${{ matrix.os.label }}.zip gui/dist/vuegen_gui.app/
180182 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+ gh release upload $TAG_NAME vuegen_gui_${{ matrix.os.label }}.zip
184+ - name : Upload Windows Executable to a GitHub Release
183185 if : startsWith(${{ matrix.os.runner }}, 'windows')
184186 env :
185187 GH_TOKEN : ${{ secrets.GITHUB_TOKEN }}
186188 run : |
187- TAG_NAME=${ GITHUB_REF# refs/tags/}
188- TAG_NAME=v0.3.0-alpha
189+ $ TAG_NAME = $env: GITHUB_REF -replace ' refs/tags/', ''
190+ $ TAG_NAME= v0.3.0-alpha
189191 echo "Uploading vuegen_gui_${{ matrix.os.label }} to release $TAG_NAME"
190192 echo "Available files in build folder: gui/dist/"
191193 ls gui/dist/
You can’t perform that action at this time.
0 commit comments