Skip to content

re-add goreleaser for homebrew #22

re-add goreleaser for homebrew

re-add goreleaser for homebrew #22

Workflow file for this run

name: publish
on:
push:
tags:
- "v*"
jobs:
main:
runs-on: ubuntu-latest
steps:
- name: Clone repository
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version-file: go.mod
# - name: Install GoReleaser
# run: go install github.com/goreleaser/goreleaser@master
# - name: Run GoReleaser
# run: goreleaser release
# env:
# GITHUB_TOKEN: ${{ secrets.TOKEN }}
# AUR_SSH_KEY: ${{ secrets.AUR_SSH_KEY }}
- name: Run GoReleaser
uses: goreleaser/goreleaser-action@v5
with:
version: latest
args: release --clean
env:
GITHUB_TOKEN: ${{ secrets.TOKEN }}
AUR_SSH_KEY: ${{ secrets.AUR_SSH_KEY }}