Skip to content

Commit

Permalink
Add homebrew publish workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
hahwul committed Aug 21, 2023
1 parent 8e57cdd commit f8ecc76
Showing 1 changed file with 35 additions and 0 deletions.
35 changes: 35 additions & 0 deletions .github/workflows/homebrew_publish.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
name: Homebrew tab Publish

on:
release:
types: [published]

jobs:
homebrew-releaser:
runs-on: ubuntu-latest
name: homebrew-releaser
steps:
- name: Release Noir to Homebrew tap
uses: Justintime50/homebrew-releaser@v1
with:
homebrew_owner: hahwul
homebrew_tap: homebrew-noir
formula_folder: Formula

github_token: ${{ secrets.NOIR_PUBLISH_TOKEN }}

commit_owner: hahwul
commit_email: hahwul@gmail.com

depends_on: |
"crystal"
install: |
system "shards install"
system "shards build --release --no-debug --production"
bin.install "bin/noir"
test: 'system "{bin}/noir", "-v"'
update_readme_table: true
skip_commit: false
debug: false

0 comments on commit f8ecc76

Please sign in to comment.