Skip to content

feat(slash-commands): add binary launch helpers #15

feat(slash-commands): add binary launch helpers

feat(slash-commands): add binary launch helpers #15

Workflow file for this run

name: release
# Triggered on pushing a vX.Y.Z tag.
#
# Required repository secrets:
# HOMEBREW_TAP_TOKEN - GitHub Personal Access Token with `repo` scope on
# the mrcat71/homebrew-tap repository
# (GITHUB_TOKEN is provided automatically by GitHub Actions and is enough
# for creating the Release in this repo.)
on:
push:
tags:
- "v*"
permissions:
contents: write # create the GitHub Release in this repo
jobs:
release:
name: goreleaser
runs-on: macos-latest # darwin builds run natively here; could be ubuntu-latest with CGO_ENABLED=0
steps:
- name: Check out
uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7
with:
fetch-depth: 0 # goreleaser needs full history for changelog
- name: Set up Go
uses: actions/setup-go@4a3601121dd01d1626a1e23e37211e3254c1c06c # v6
with:
# Keep in sync with the `go` directive in go.mod. setup-go pins
# GOTOOLCHAIN=local, so a mismatch here blocks goreleaser's
# `go mod tidy` hook with "go.mod requires go >= 1.25.0".
go-version: "1.25"
check-latest: true
- name: Run goreleaser
uses: goreleaser/goreleaser-action@5daf1e915a5f0af01ddbcd89a43b8061ff4f1a89 # v7
with:
distribution: goreleaser
version: latest
args: release --clean
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
HOMEBREW_TAP_TOKEN: ${{ secrets.HOMEBREW_TAP_TOKEN }}