Skip to content

Commit 837d779

Browse files
committed
Publish to homebrew
1 parent 1c1d246 commit 837d779

File tree

1 file changed

+28
-0
lines changed

1 file changed

+28
-0
lines changed
Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
name: Publish Homebrew Release
2+
3+
on:
4+
release:
5+
types: [published]
6+
workflow_dispatch:
7+
inputs:
8+
version:
9+
description: "The version number for the next release (e.g. 1.0.2)"
10+
required: true
11+
12+
jobs:
13+
build-and-pack:
14+
runs-on: ubuntu-latest
15+
16+
steps:
17+
- name: Checkout
18+
uses: actions/checkout@v6
19+
20+
- uses: mislav/bump-homebrew-formula-action@v3
21+
name: Bump Homebrew formula
22+
with:
23+
formula-name: busly-cli
24+
homebrew-tap: tragiccode/homebrew-tap-busly-cli
25+
tag-name: ${{ github.event.release.tag_name }}
26+
download-url: https://github.com/TraGicCode/busly-cli/releases/download/v${{ github.event.inputs.version }}/busly-cli-v${{ github.event.inputs.version }}-osx-arm64.tar.gz
27+
env:
28+
COMMITTER_TOKEN: ${{ secrets.RELEASE_GITHUB_TOKEN }}

0 commit comments

Comments
 (0)