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:
goreleaser:
runs-on: ubuntu-latest
runs-on: ubuntu-18.04 # due to CGO we need to user an older version
steps:
-
name: Checkout

View File

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