changeloguru/.github/workflows/goreleaser.yml

30 lines
564 B
YAML
Raw Normal View History

2021-11-14 06:27:52 +00:00
name: goreleaser
on:
push:
tags:
- "*"
permissions:
contents: write
jobs:
goreleaser:
runs-on: ubuntu-latest
steps:
2022-06-01 04:36:29 +00:00
- uses: actions/checkout@v3
2021-11-14 06:27:52 +00:00
with:
fetch-depth: 0
- uses: actions/setup-go@v4
2021-11-14 06:27:52 +00:00
with:
2023-02-08 08:30:56 +00:00
go-version: "1.20"
2022-08-15 18:17:44 +00:00
check-latest: true
cache: true
- uses: goreleaser/goreleaser-action@v3
2021-11-14 06:27:52 +00:00
with:
distribution: goreleaser
version: latest
args: release --rm-dist
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}