Skip to content

Commit

Permalink
ci(release): use actions/create-github-app-token
Browse files Browse the repository at this point in the history
because it has better error messages on failure and
tibex/github-app-token will eventually be deprecated
see tibdex/github-app-token#99
  • Loading branch information
tekumara committed May 11, 2024
1 parent 2f6ff11 commit 7d7af19
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,11 @@ jobs:
go-version-file: go.mod
- name: fetch tap repo token
id: tap-repo-token
uses: tibdex/github-app-token@v2
uses: actions/create-github-app-token@v1
with:
app_id: ${{ secrets.APP_ID }}
private_key: ${{ secrets.APP_PRIVATE_KEY }}
installation_retrieval_mode: id
# for https://github.com/tekumara/homebrew-tap
installation_retrieval_payload: 37032952
app-id: ${{ secrets.APP_ID }}
private-key: ${{ secrets.APP_PRIVATE_KEY }}
repositories: tekumara/homebrew-tap
- name: goreleaser
uses: goreleaser/goreleaser-action@v5
with:
Expand Down

0 comments on commit 7d7af19

Please sign in to comment.