Skip to content

Revert 94483a4efdce6adf3cf005439849be8cf96e24e6 (#103) #20

Revert 94483a4efdce6adf3cf005439849be8cf96e24e6 (#103)

Revert 94483a4efdce6adf3cf005439849be8cf96e24e6 (#103) #20

name: release
on:
push:
tags:
- 'v*'
permissions:
contents: write # Upload GitHub Release Artifacts
issues: write # Close related issues
jobs:
release:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab # v3.5.2
- name: Install Go
uses: actions/setup-go@4d34df0c2316fe8122ab82dc22947d607c0c91f9 # v4.0.0
with:
go-version-file: '.go-version'
- name: Run GoReleaser
uses: goreleaser/goreleaser-action@7ec5c2b0c6cdda6e8bbb49444bc797dd33d74dd8 # v5.0.0
with:
version: latest
args: release --clean
env:
GITHUB_TOKEN: ${{ secrets.RELEASE_GITHUB_TOKEN }}
HOMEBREW_COMMIT_AUTHOR_NAME: ${{ secrets.HOMEBREW_COMMIT_AUTHOR_NAME }}
HOMEBREW_COMMIT_EMAIL: ${{ secrets.HOMEBREW_COMMIT_EMAIL }}