Skip to content

Commit 0c1bf5e

Browse files
authored
Fix release job not running when a new tag is pushed (#210)
1 parent 5f6e4a2 commit 0c1bf5e

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/ci_cd.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -194,7 +194,8 @@ jobs:
194194
runs-on: [self-hosted, Windows, pyrocky]
195195
if: |
196196
contains(github.event.pull_request.labels.*.name, 'docs') ||
197-
github.ref == 'refs/heads/main'
197+
github.ref == 'refs/heads/main' ||
198+
(github.event_name == 'push' && startsWith(github.ref, 'refs/tags/v'))
198199
env:
199200
ANSYSLMD_LICENSE_FILE: 1055@${{ secrets.LICENSE_SERVER }}
200201

0 commit comments

Comments
 (0)