New ๐ŸŒŠ wave for @helm

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 Binary
8+ goreleaser:
109 runs-on: ubuntu-latest
11- strategy:
12- matrix:
13- # build and publish in parallel: linux/386, linux/amd64, windows/386, windows/amd64, darwin/386, darwin/amd64
14- goos: [linux, windows, darwin]
15- goarch: ["386", amd64]
1610 steps:
1711 - uses: actions/checkout@v2
18- - uses: wangyoucao577/go-release-action@master
1912 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: 0
14+
15+ - uses: actions/setup-go@v2
16+ with:
17+ go-version: 1.16
18+
19+ - name: Run GoReleaser
20+ uses: goreleaser/goreleaser-action@v2
21+ with:
22+ version: latest
23+ args: release --rm-dist
24+ env:
25+ GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
26+
2527 notify-telegram:
2628 runs-on: ubuntu-latest
2729 steps: