Skip to content

Commit ecf4681

Browse files
authored
ci: fix release step on created release
1 parent 372dded commit ecf4681

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/build.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@ on:
99
branches:
1010
- main
1111
- "*/main/**"
12+
release:
13+
types: [published]
1214

1315
jobs:
1416
build:
@@ -43,7 +45,7 @@ jobs:
4345
os: ["linux", "darwin", "windows"]
4446
arch: ["amd64", "arm64", "386"]
4547
runs-on: ubuntu-latest
46-
if: startsWith(github.ref, 'refs/tags/')
48+
if: startsWith(github.ref, 'refs/tags/v2')
4749
needs: build
4850

4951
steps:

0 commit comments

Comments
 (0)