File tree Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -183,14 +183,13 @@ jobs:
183183 gh release upload $GITHUB_REF_NAME vuegen_gui_${{ matrix.os.label }}.zip
184184 # .app is folder that needs to be zipped
185185 - name : Upload Windows Executable to a GitHub Release
186- if : startsWith(matrix.os.runner, 'windows')
186+ if : startsWith(matrix.os.runner, 'windows') && startsWith(github.ref, 'refs/tags')
187187 env :
188188 GH_TOKEN : ${{ secrets.GITHUB_TOKEN }}
189189 run : |
190- echo GITHUB_REF_NAME in env $env:GITHUB_REF_NAME
190+ echo " GITHUB_REF_NAME in env $env:GITHUB_REF_NAME"
191191 $GITHUB_REF_NAME = $env:GITHUB_REF_NAME
192- echo "Uploading vuegen_gui_${{ matrix.os.label }} to release $GITHUB_REF_NAME"
193- $GITHUB_REF_NAME = 'v0.3.0-beta'
192+ echo "Uploading vuegen_gui_${{ matrix.os.label }} to release $GITHUB_REF_NAME"
194193 echo "Available files in build folder: gui/dist/"
195194 ls gui/dist/
196195 echo "Uploading..."
You can’t perform that action at this time.
0 commit comments