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:
|
||||
push:
|
||||
tags:
|
||||
- "*"
|
||||
- "v*.*.*"
|
||||
|
||||
jobs:
|
||||
release:
|
||||
|
@ -20,7 +20,7 @@ jobs:
|
|||
- name: Setup Go
|
||||
uses: actions/setup-go@v4
|
||||
with:
|
||||
go-version: 1.17
|
||||
go-version: 1.20
|
||||
|
||||
- name: Build
|
||||
run: go build -v ./...
|
||||
|
|
|
@ -8,13 +8,26 @@ builds:
|
|||
- linux
|
||||
- windows
|
||||
- darwin
|
||||
goarch:
|
||||
- "386"
|
||||
- amd64
|
||||
- arm
|
||||
- arm64
|
||||
archives:
|
||||
- replacements:
|
||||
darwin: Darwin
|
||||
linux: Linux
|
||||
windows: Windows
|
||||
386: i386
|
||||
amd64: x86_64
|
||||
- format: tar.gz
|
||||
files:
|
||||
- LICENSE
|
||||
- README.md
|
||||
- .config-mapper.yml.template
|
||||
- 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:
|
||||
api: https://gitea.antoine-langlois.net/api/v1
|
||||
download: https://gitea.antoine-langlois.net
|
||||
|
|
Reference in New Issue