Skip to content

build: publish workflow #2

build: publish workflow

build: publish workflow #2

Workflow file for this run

name: publish
on:
push:
tags:
- "*"
workflow_dispatch:
permissions:
contents: write
jobs:
publish:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Setup Go
uses: actions/setup-go@v4
with:
go-version: "stable"
- name: Release and publish
uses: goreleaser/goreleaser-action@v4
with:
args: release --clean
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}