Use ubuntu 18.04 as build env

This commit is contained in:
Juan Font Alonso 2021-07-12 17:04:28 +02:00
parent 31556e1ac0
commit 5748744134
2 changed files with 2 additions and 3 deletions

View file

@ -7,7 +7,7 @@ on:
jobs: jobs:
goreleaser: goreleaser:
runs-on: ubuntu-latest runs-on: ubuntu-18.04 # due to CGO we need to user an older version
steps: steps:
- -
name: Checkout name: Checkout

View file

@ -62,8 +62,7 @@ archives:
- linux-armhf - linux-armhf
- linux-amd64 - linux-amd64
name_template: "{{ .ProjectName }}_{{ .Version }}_{{ .Os }}_{{ .Arch }}" name_template: "{{ .ProjectName }}_{{ .Version }}_{{ .Os }}_{{ .Arch }}"
format: zip format: binary
# wrap_in_directory: true
checksum: checksum:
name_template: 'checksums.txt' name_template: 'checksums.txt'