Skip to content

Commit 30173a9

Browse files
committed
feat: automating brew tap
1 parent 24349b4 commit 30173a9

File tree

1 file changed

+35
-0
lines changed

1 file changed

+35
-0
lines changed

.github/workflows/brew.yml

+35
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
on:
2+
pull_request:
3+
branches:
4+
- main
5+
6+
release:
7+
types: [published]
8+
9+
jobs:
10+
homebrew-releaser:
11+
runs-on: ubuntu-latest
12+
name: homebrew-releaser
13+
steps:
14+
- name: publish tap
15+
uses: Justintime50/homebrew-releaser@v1
16+
with:
17+
homebrew_owner: grampelberg
18+
homebrew_tap: homebrew-kty
19+
github_token: ${{ secrets.BREW_TOKEN }}
20+
21+
commit_owner: Thomas Rampelberg
22+
commit_email: thomas@saunter.org
23+
24+
install: 'bin.install "*" => "kty"'
25+
test: 'assert_match("kty", shell_output("kty"))'
26+
27+
target_darwin_amd64: true
28+
target_darwin_arm64: false
29+
target_linux_amd64: true
30+
target_linux_arm64: true
31+
32+
update_readme_table: true
33+
skip_commit: false
34+
35+
debug: true

0 commit comments

Comments
 (0)