Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* fix: format `.goreleaser.yml` * feat: add `arm64`/`arm` builds * feat: capture all binaries built by goreleaser `upload-artifact` actions will run only on GitHub Actions due to `ACTIONS_RUNTIME_TOKEN` requirement * fix: remove `windows/arm/6`
- Loading branch information
Ryan (hackercat)
committed
May 23, 2021
1 parent
799098b
commit 4900399
Showing
2 changed files
with
73 additions
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,35 +1,43 @@ | ||
before: | ||
hooks: | ||
- go mod tidy | ||
- go mod tidy | ||
builds: | ||
- env: | ||
- CGO_ENABLED=0 | ||
goos: | ||
- darwin | ||
- linux | ||
- windows | ||
goarch: | ||
- amd64 | ||
- 386 | ||
- env: | ||
- CGO_ENABLED=0 | ||
goos: | ||
- darwin | ||
- linux | ||
- windows | ||
goarch: | ||
- amd64 | ||
- 386 | ||
- arm64 | ||
- arm | ||
goarm: | ||
- 6 | ||
- 7 | ||
ignore: | ||
- goos: windows | ||
goarm: 6 | ||
checksum: | ||
name_template: 'checksums.txt' | ||
archives: | ||
- name_template: '{{ .ProjectName }}_{{ .Os }}_{{ .Arch }}' | ||
- name_template: '{{ .ProjectName }}_{{ .Os }}_{{ .Arch }}{{ if .Arm }}v{{ .Arm }}{{ end }}{{ if .Mips }}_{{ .Mips }}{{ end }}' | ||
replacements: | ||
darwin: Darwin | ||
linux: Linux | ||
windows: Windows | ||
386: i386 | ||
amd64: x86_64 | ||
format_overrides: | ||
- goos: windows | ||
format: zip | ||
- goos: windows | ||
format: zip | ||
brews: | ||
- tap: | ||
owner: nektos | ||
name: homebrew-tap | ||
folder: Formula | ||
homepage: https://github.com/nektos/act | ||
homepage: https://github.com/nektos/act | ||
description: Run GitHub Actions locally | ||
test: | | ||
system "#{bin}/act --version" |