Skip to content

ci(actions): use ubuntu-20.04 #51

ci(actions): use ubuntu-20.04

ci(actions): use ubuntu-20.04 #51

Workflow file for this run

name: release
on:
workflow_dispatch:
push:
tags:
- '*'
permissions:
contents: write
jobs:
goreleaser:
runs-on: ubuntu-20.04
steps:
- name: Checkout
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Fetch all tags
run: git fetch --force --tags
- name: Set up Go
uses: actions/setup-go@v3
with:
go-version: 1.19
cache: true
- name: Run GoReleaser
uses: goreleaser/goreleaser-action@v5
with:
distribution: goreleaser
version: v1.18.2
args: release --rm-dist --timeout 1h
env:
GITHUB_TOKEN: ${{ secrets.RELEASE_TOKEN }}