Skip to content

Commit 8719660

Browse files
committed
🎨 one-liner, remove hard-coded tag for testing
1 parent 87b3c9c commit 8719660

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

.github/workflows/cdci.yml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff 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..."

0 commit comments

Comments
 (0)