Skip to content

Commit cde3014

Browse files
author
Tsyren Ochirov
committed
run release stage on push tag
1 parent 5f8a059 commit cde3014

File tree

1 file changed

+26
-0
lines changed

1 file changed

+26
-0
lines changed

.github/workflows/release.yml

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
name: Go
2+
3+
on:
4+
push:
5+
tags:
6+
- '**'
7+
8+
jobs:
9+
releases-matrix:
10+
name: Release Go Binary
11+
runs-on: ubuntu-latest
12+
strategy:
13+
matrix:
14+
# build and publish in parallel: linux/386, linux/amd64, windows/386, windows/amd64, darwin/386, darwin/amd64
15+
#goos: [linux, windows, darwin]
16+
#goarch: ["386", amd64]
17+
goos: [linux]
18+
goarch: [amd64]
19+
steps:
20+
- uses: actions/checkout@v2
21+
- uses: wangyoucao577/go-release-action@master
22+
with:
23+
github_token: ${{ secrets.GITHUB_TOKEN }}
24+
goos: ${{ matrix.goos }}
25+
goarch: ${{ matrix.goarch }}
26+
goversion: "1.15.3"

0 commit comments

Comments
 (0)