Skip to content

Merge pull request #20 from muandane/hotfix/go-releaser #21

Merge pull request #20 from muandane/hotfix/go-releaser

Merge pull request #20 from muandane/hotfix/go-releaser #21

Workflow file for this run

name: goreleaser
on:
push:
tags:
- "*"
permissions:
contents: write
jobs:
goreleaser:
runs-on: ubuntu-latest
steps:
- name: Check out code
uses: actions/[email protected]
with:
fetch-depth: 0
- name: Set up Go
uses: actions/[email protected]
with:
go-version: '1.21.4'
-
name: Run GoReleaser
uses: goreleaser/[email protected]
with:
distribution: goreleaser
version: ${{ env.GITHUB_REF_NAME }}
args: release --clean
workdir: src
env:
GITHUB_TOKEN: ${{ secrets.PUBLISHER_TOKEN }}