2024-02-18 08:53:32 -08:00
|
|
|
steps:
|
|
|
|
build:
|
2024-02-18 08:54:38 -08:00
|
|
|
image: golang:1.22
|
2024-02-18 08:53:32 -08:00
|
|
|
commands:
|
|
|
|
- go mod tidy
|
2024-02-18 18:51:25 -08:00
|
|
|
- go build -o gspot
|
2024-02-18 08:53:32 -08:00
|
|
|
|
|
|
|
publish:
|
2024-02-18 09:01:51 -08:00
|
|
|
image: goreleaser/goreleaser:nightly
|
2024-02-18 08:53:32 -08:00
|
|
|
commands:
|
|
|
|
- goreleaser release --clean
|
|
|
|
secrets: [ gitea_token ]
|
|
|
|
when:
|
|
|
|
event: tag
|