Commit 547d1148
547d1148b2ebMerged
Svyatoslav <[email protected]> ยท 5 years ago ยท 1 file ยท ~1 modified
Description
use goreleaser-action for releases
Details
- Commit
- 547d1148b2eb
- Parent
- b5ebf6924d1e
.github/workflows/release.ymlmodifiedView file
@@ -2,26 +2,28 @@
22
33
on:44
push:5-
tags: '*'5+
tags: ['*']66
77
jobs:8-
releases-matrix:9-
name: Release Go Binary8+
goreleaser:109
runs-on: ubuntu-latest11-
strategy:12-
matrix:13-
# build and publish in parallel: linux/386, linux/amd64, windows/386, windows/amd64, darwin/386, darwin/amd6414-
goos: [linux, windows, darwin]15-
goarch: ["386", amd64]1610
steps:1711
- uses: actions/checkout@v218-
- uses: wangyoucao577/go-release-action@master1912
with:20-
github_token: ${{ secrets.TOKEN }}21-
goos: ${{ matrix.goos }}22-
project_path: "./cmd/helmwave"23-
goarch: ${{ matrix.goarch }}24-
goversion: "1.15.8"13+
fetch-depth: 014+
15+
- uses: actions/setup-go@v216+
with:17+
go-version: 1.1618+
19+
- name: Run GoReleaser20+
uses: goreleaser/goreleaser-action@v221+
with:22+
version: latest23+
args: release --rm-dist24+
env:25+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}26+
2527
notify-telegram:2628
runs-on: ubuntu-latest2729
steps: