Skip to content

Merge pull request #74 from refaktor/refaktor-patch-11 #3

Merge pull request #74 from refaktor/refaktor-patch-11

Merge pull request #74 from refaktor/refaktor-patch-11 #3

Workflow file for this run

# .github/workflows/release.yml
name: goreleaser
on:
push:
tags:
- 'v*.*.*'
permissions:
contents: write
packages: write
# issues: write
jobs:
goreleaser:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0 # needs full git history for changelog generation
submodules: true
- run: git fetch --force --tags
- uses: actions/setup-go@v4
with:
go-version: stable
- uses: goreleaser/goreleaser-action@v5
with:
# either 'goreleaser' (default) or 'goreleaser-pro':
distribution: goreleaser
version: latest
args: release --clean
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}