This commit is contained in:
parent
05f507f655
commit
dde043817e
@ -11,7 +11,7 @@ jobs:
|
|||||||
- uses: actions/setup-go@v3
|
- uses: actions/setup-go@v3
|
||||||
with: { go-version: 1.20 }
|
with: { go-version: 1.20 }
|
||||||
- run: go install github.com/go-task/task/v3/cmd/task@latest
|
- run: go install github.com/go-task/task/v3/cmd/task@latest
|
||||||
- run: apt update && apt-get install zip
|
# - run: apt update && apt-get install zip
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
- run: task deps
|
- run: task deps
|
||||||
- run: git reset --hard
|
- run: git reset --hard
|
||||||
|
33
.goreleaser.yml
Normal file
33
.goreleaser.yml
Normal file
@ -0,0 +1,33 @@
|
|||||||
|
# Goreleaser configuration
|
||||||
|
# for building binaries and packages for distributions and releasing on github
|
||||||
|
gitea_urls:
|
||||||
|
api: https://git.treesir.pub/api/v1
|
||||||
|
download: https://git.treesir.pub
|
||||||
|
# set to true if you use a self-signed certificate
|
||||||
|
skip_tls_verify: false
|
||||||
|
|
||||||
|
dist: bin
|
||||||
|
|
||||||
|
builds:
|
||||||
|
- binary: devops-sing
|
||||||
|
env:
|
||||||
|
- CGO_ENABLED=0
|
||||||
|
main: main.go
|
||||||
|
goos:
|
||||||
|
- darwin
|
||||||
|
- linux
|
||||||
|
- freebsd
|
||||||
|
goarch:
|
||||||
|
- amd64
|
||||||
|
ignore:
|
||||||
|
- goos: darwin
|
||||||
|
goarch: 386
|
||||||
|
|
||||||
|
# archives:
|
||||||
|
# -
|
||||||
|
# format_overrides:
|
||||||
|
# - goos: windows
|
||||||
|
# format: zip
|
||||||
|
# files:
|
||||||
|
# - LICENSE
|
||||||
|
# - config.json.template
|
Loading…
x
Reference in New Issue
Block a user