Generate Next Release #44
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Generate Next Release | |
on: | |
workflow_dispatch: | |
jobs: | |
release: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- name: Set up Go | |
uses: actions/setup-go@v5 | |
with: | |
go-version-file: go.mod | |
- name: Release | |
id: semantic-release | |
uses: cycjimmy/semantic-release-action@v4 | |
with: | |
semantic_version: 24.0.0 | |
extra_plugins: | | |
[email protected] | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
- name: Run GoReleaser | |
uses: goreleaser/goreleaser-action@v6 | |
with: | |
args: release --clean | |
version: '~> v2' | |
env: | |
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
# | |
# Token for robot account @equinix-homebrew-tap, which can publish | |
# to metal-cli and homebrew-tap GH repos | |
GITHUB_TOKEN: ${{ secrets.GH_HOMEBREW_TAP_TOKEN }} |