2019-01-13 12:45:25 +08:00
|
|
|
builds:
|
|
|
|
- env:
|
|
|
|
- CGO_ENABLED=0
|
2019-01-24 03:51:22 +08:00
|
|
|
- GOFLAGS=-mod=vendor
|
2019-01-13 12:45:25 +08:00
|
|
|
goos:
|
|
|
|
- darwin
|
|
|
|
- linux
|
2020-02-20 11:16:40 +08:00
|
|
|
#- windows
|
2019-01-13 12:45:25 +08:00
|
|
|
goarch:
|
|
|
|
- amd64
|
|
|
|
- 386
|
|
|
|
checksum:
|
|
|
|
name_template: 'checksums.txt'
|
|
|
|
snapshot:
|
|
|
|
name_template: "{{ .Env.SNAPSHOT_VERSION }}"
|
2020-02-20 11:16:40 +08:00
|
|
|
archives:
|
|
|
|
- name_template: '{{ .ProjectName }}_{{ .Os }}_{{ .Arch }}'
|
|
|
|
replacements:
|
|
|
|
darwin: Darwin
|
|
|
|
linux: Linux
|
|
|
|
windows: Windows
|
|
|
|
386: i386
|
|
|
|
amd64: x86_64
|
|
|
|
format_overrides:
|
|
|
|
- goos: windows
|
|
|
|
format: zip
|
|
|
|
brews:
|
|
|
|
- github:
|
|
|
|
owner: nektos
|
|
|
|
name: homebrew-tap
|
|
|
|
folder: Formula
|
|
|
|
homepage: https://github.com/nektos/act
|
|
|
|
description: Run GitHub Actions locally
|
|
|
|
test: |
|
|
|
|
system "#{bin}/act --version"
|