chore: enhance workflow (#271)

Co-authored-by: CrazyMax <crazy-max@users.noreply.github.com>
This commit is contained in:
CrazyMax
2021-03-30 23:48:02 +02:00
committed by GitHub
parent d8a076a057
commit b458824747
13 changed files with 149 additions and 119 deletions
+35
View File
@@ -0,0 +1,35 @@
env:
- GO111MODULE=on
before:
hooks:
- go mod download
builds:
-
env:
- CGO_ENABLED=0
goos:
- darwin
- linux
- windows
goarch:
- 386
- amd64
archives:
-
replacements:
386: i386
amd64: x86_64
format_overrides:
- goos: windows
format: zip
checksum:
name_template: 'checksums.txt'
signs:
-
artifacts: checksum
args: ["--batch", "-u", "{{ .Env.GPG_FINGERPRINT }}", "--output", "${signature}", "--detach-sign", "${artifact}"]
+30
View File
@@ -0,0 +1,30 @@
env:
- GO111MODULE=on
before:
hooks:
- go mod download
builds:
-
env:
- CGO_ENABLED=0
goos:
- darwin
- linux
- windows
goarch:
- 386
- amd64
archives:
-
replacements:
386: i386
amd64: x86_64
format_overrides:
- goos: windows
format: zip
checksum:
name_template: 'checksums.txt'
+3
View File
@@ -0,0 +1,3 @@
module github.com/goreleaser/goreleaser-action
go 1.15
+5
View File
@@ -0,0 +1,5 @@
package main
func main() {
println("Ba dum, tss!")
}