Skip to content

build: build and release on ubuntu-20.04 for older glibc versions (#121) #3

build: build and release on ubuntu-20.04 for older glibc versions (#121)

build: build and release on ubuntu-20.04 for older glibc versions (#121) #3

Workflow file for this run

name: release
on:
push:
tags:
- "*"
permissions:
contents: write
jobs:
goreleaser:
# we need ubuntu 20.04 because golines needs
# to run on hosts with older glibc versions
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: actions/setup-go@v5
with:
go-version: "1.21"
cache: false
- name: release golines
uses: goreleaser/goreleaser-action@v5
with:
distribution: goreleaser
version: latest
args: release --clean
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}