Skip to content

Commit 8833a62

Browse files
committed
update action
1 parent 3739877 commit 8833a62

1 file changed

Lines changed: 4 additions & 3 deletions

File tree

.github/workflows/go-build-release.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
11
name: Go build
22

33
on:
4-
repository_dispatch:
5-
types: RELEASE
6-
workflow_dispatch:
4+
push:
5+
tags:
6+
- 'v*' # 匹配 v 开头的标签,如 v1.0.0
7+
78
jobs:
89
build:
910
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)