mirror of
https://github.com/on4kjm/FLEcli.git
synced 2025-01-18 13:01:09 +01:00
Implement CD with GitHub App authentication
This commit is contained in:
parent
f69658f7c4
commit
6454e32387
1 changed files with 6 additions and 1 deletions
7
.github/workflows/release.yml
vendored
7
.github/workflows/release.yml
vendored
|
@ -16,6 +16,11 @@ jobs:
|
|||
- uses: actions/setup-go@v4
|
||||
with:
|
||||
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
|
||||
uses: goreleaser/goreleaser-action@v5
|
||||
with:
|
||||
|
@ -23,4 +28,4 @@ jobs:
|
|||
args: release --release-notes=doc/whats_new.md
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
HOMEBREW: ${{ secrets.HOMEBREW }}
|
||||
HOMEBREW: ${{ steps.generate_homebrew_token.outputs.token }}
|
Loading…
Reference in a new issue