chore(ci): update goreleaser and ci
build / build (push) Successful in 10m12s Details

This commit is contained in:
DataHearth 2023-07-17 23:36:05 +02:00
parent fac6dd5b69
commit 4f66244e9a
No known key found for this signature in database
GPG Key ID: E88FD356ACC5F3C4
2 changed files with 21 additions and 8 deletions

View File

@ -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 ./...

View File

@ -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