Skip to content

Commit eb3833a

Browse files
committed
adding osx release to github actions'
1 parent b43acf2 commit eb3833a

File tree

1 file changed

+29
-0
lines changed

1 file changed

+29
-0
lines changed

.github/workflows/release-osx.yml

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
name: goreleaser
2+
3+
on:
4+
pull_request:
5+
push:
6+
7+
jobs:
8+
goreleaser:
9+
runs-on: macos-10.15
10+
steps:
11+
-
12+
name: Checkout
13+
uses: actions/checkout@v2
14+
-
15+
name: Unshallow
16+
run: git fetch --prune --unshallow
17+
-
18+
name: Set up Go
19+
uses: actions/setup-go@v1
20+
with:
21+
go-version: 1.14.x
22+
-
23+
name: Run GoReleaser
24+
uses: goreleaser/goreleaser-action@v1
25+
with:
26+
version: latest
27+
args: release --rm-dist
28+
env:
29+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)