chore(ci): update goreleaser and ci
build / build (push) Successful in 10m12s
Details
build / build (push) Successful in 10m12s
Details
This commit is contained in:
parent
fac6dd5b69
commit
4f66244e9a
|
@ -3,7 +3,7 @@ name: release
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
tags:
|
tags:
|
||||||
- "*"
|
- "v*.*.*"
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
release:
|
release:
|
||||||
|
@ -20,7 +20,7 @@ jobs:
|
||||||
- name: Setup Go
|
- name: Setup Go
|
||||||
uses: actions/setup-go@v4
|
uses: actions/setup-go@v4
|
||||||
with:
|
with:
|
||||||
go-version: 1.17
|
go-version: 1.20
|
||||||
|
|
||||||
- name: Build
|
- name: Build
|
||||||
run: go build -v ./...
|
run: go build -v ./...
|
||||||
|
|
|
@ -8,13 +8,26 @@ builds:
|
||||||
- linux
|
- linux
|
||||||
- windows
|
- windows
|
||||||
- darwin
|
- darwin
|
||||||
|
goarch:
|
||||||
|
- "386"
|
||||||
|
- amd64
|
||||||
|
- arm
|
||||||
|
- arm64
|
||||||
archives:
|
archives:
|
||||||
- replacements:
|
- format: tar.gz
|
||||||
darwin: Darwin
|
files:
|
||||||
linux: Linux
|
- LICENSE
|
||||||
windows: Windows
|
- README.md
|
||||||
386: i386
|
- .config-mapper.yml.template
|
||||||
amd64: x86_64
|
- CHANGELOG.md
|
||||||
|
name_template: >-
|
||||||
|
{{ .ProjectName }}_
|
||||||
|
{{ .Version }}_
|
||||||
|
{{- title .Os }}_
|
||||||
|
{{- if eq .Arch "amd64" }}x86_64
|
||||||
|
{{- else if eq .Arch "386" }}i386
|
||||||
|
{{- else }}{{ .Arch }}{{ end }}
|
||||||
|
|
||||||
gitea_urls:
|
gitea_urls:
|
||||||
api: https://gitea.antoine-langlois.net/api/v1
|
api: https://gitea.antoine-langlois.net/api/v1
|
||||||
download: https://gitea.antoine-langlois.net
|
download: https://gitea.antoine-langlois.net
|
||||||
|
|
Reference in New Issue