Skip to content

ci: defer homebrew formula publish until HOMEBREW_TAP_TOKEN is config… #1

ci: defer homebrew formula publish until HOMEBREW_TAP_TOKEN is config…

ci: defer homebrew formula publish until HOMEBREW_TAP_TOKEN is config… #1

Workflow file for this run

name: Release
on:
push:
tags:
- 'v*'
permissions:
contents: write
jobs:
release:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6.0.2
with:
fetch-depth: 0
- uses: actions/setup-go@v6.4.0
with:
go-version-file: go.mod
- uses: goreleaser/goreleaser-action@v7.0.0
with:
version: latest
args: release --clean
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
HOMEBREW_TAP_GITHUB_TOKEN: ${{ secrets.HOMEBREW_TAP_TOKEN }}