Skip to content

Commit fc5bde7

Browse files
only trigger with tags
1 parent 2583f26 commit fc5bde7

File tree

1 file changed

+5
-6
lines changed

1 file changed

+5
-6
lines changed

.github/workflows/windows_build.yml

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,9 @@
11
name: Create Windows Executable using Conda
22

3-
on: [push]
4-
#on:
5-
# push:
6-
# tags:
7-
# - '*'
3+
on:
4+
push:
5+
tags:
6+
- '*'
87

98
jobs:
109
miniconda:
@@ -41,7 +40,7 @@ jobs:
4140
env:
4241
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
4342
with:
44-
tag_name: ${{ github.sha }}
43+
tag_name: ${{ github.ref }}
4544
release_name: Prerelease ${{ github.sha }}
4645
draft: true
4746
prerelease: true

0 commit comments

Comments
 (0)