|
|
@ -16,6 +16,11 @@ jobs:
|
|
|
|
- uses: actions/setup-go@v4
|
|
|
|
- uses: actions/setup-go@v4
|
|
|
|
with:
|
|
|
|
with:
|
|
|
|
go-version: '^1.21.3'
|
|
|
|
go-version: '^1.21.3'
|
|
|
|
|
|
|
|
- uses: tibdex/github-app-token@v2
|
|
|
|
|
|
|
|
id: generate_homebrew_token
|
|
|
|
|
|
|
|
with:
|
|
|
|
|
|
|
|
app_id: ${{ secrets.HOMEBREW_APP_ID }}
|
|
|
|
|
|
|
|
private_key: ${{ secrets.HOMEBREW_APP_PRIVKEY }}
|
|
|
|
- name: Release via goreleaser
|
|
|
|
- name: Release via goreleaser
|
|
|
|
uses: goreleaser/goreleaser-action@v5
|
|
|
|
uses: goreleaser/goreleaser-action@v5
|
|
|
|
with:
|
|
|
|
with:
|
|
|
@ -23,4 +28,4 @@ jobs:
|
|
|
|
args: release --release-notes=doc/whats_new.md
|
|
|
|
args: release --release-notes=doc/whats_new.md
|
|
|
|
env:
|
|
|
|
env:
|
|
|
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
|
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
|
|
HOMEBREW: ${{ secrets.HOMEBREW }}
|
|
|
|
HOMEBREW: ${{ steps.generate_homebrew_token.outputs.token }}
|