Skip to content

New installs should use our install.sh instead of brew (#29) #18

New installs should use our install.sh instead of brew (#29)

New installs should use our install.sh instead of brew (#29) #18

Workflow file for this run

name: goreleaser
on:
push:
tags:
- "*"
permissions:
contents: write
jobs:
goreleaser:
runs-on: ubuntu-latest
steps:
## After having trouble with the PUBLISHER_TOKEN, I started down this path...
## But I never got the APP_ID to be accepted by the action
## Error: [@octokit/auth-app] appId option must be a number or numeric string
# - name: Generate token
# id: generate_token
# uses: tibdex/github-app-token@v1
# with:
# app_id: ${{ secrets.APP_ID }}
# private_key: ${{ secrets.APP_PEM }}
- name: Checkout
uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Fetch all tags
run: git fetch --force --tags
- name: Set up Go
uses: actions/setup-go@v2
with:
go-version: 1.20.1
- name: Run GoReleaser
uses: goreleaser/goreleaser-action@v2
with:
distribution: goreleaser
version: ${{ env.GITHUB_REF_NAME }}
args: release --clean
env:
GITHUB_TOKEN: ${{ secrets.PUBLISHER_TOKEN }}