Skip to content

Commit 8fc95b0

Browse files
author
Qingping Hou
committed
move tag condition check to job section
1 parent 3e536f0 commit 8fc95b0

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/cicd.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,10 @@ jobs:
2727
run: make test
2828

2929
release:
30+
if: startsWith(github.ref, 'refs/tags/')
31+
3032
- name: Release
3133
uses: goreleaser/goreleaser-action@v1
32-
if: startsWith(github.ref, 'refs/tags/')
3334
with:
3435
version: v0.127.0
3536
args: release --rm-dist

0 commit comments

Comments
 (0)