Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Trigger homebrew-tap update on release via workflow #168

Merged
merged 1 commit into from
Feb 20, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,3 +32,15 @@ jobs:
VERSION=$(echo ${{ github.ref }} | sed -e "s#refs/tags/##g")
echo "VERSION: ${VERSION}"
gh release create $VERSION --generate-notes release/*.tar.gz release/*.zip release/checksums.txt

- uses: actions/create-github-app-token@v1
id: app-token
with:
app-id: 831852
private-key: ${{ secrets.WORKFLOW_KICKER_PRIVATE_KEY }}
owner: buty4649
repositories: homebrew-tap
- name: Run update workflow for homebrew-tap
run: gh workflow run update.yml --repo buty4649/homebrew-tap --ref main
env:
GITHUB_TOKEN: ${{ steps.app-token.outputs.token }}