Skip to content

Commit 1bf1962

Browse files
committed
trying to filter tags
1 parent f0cb2be commit 1bf1962

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/release-osx.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
11
name: goreleaser
22

33
on:
4-
pull_request:
54
push:
5+
tags:
6+
- '*'
67

78
jobs:
89
goreleaser:
@@ -22,6 +23,7 @@ jobs:
2223
-
2324
name: Run GoReleaser
2425
uses: goreleaser/goreleaser-action@v1
26+
if: startsWith(github.ref, 'refs/tags/')
2527
with:
2628
version: latest
2729
args: release --rm-dist

0 commit comments

Comments
 (0)