Skip to content

Homebrew

Homebrew #4

Workflow file for this run

name: Homebrew
on:
workflow_dispatch:
inputs:
tag-name:
description: 'The git tag name to bump the formula to'
required: true
jobs:
homebrew:
name: Bump Homebrew formula
runs-on: ubuntu-latest
steps:
- uses: mislav/bump-homebrew-formula-action@v2
with:
formula-name: tuistash
formula-path: Formula/tuistash.rb
homebrew-tap: edmocosta/homebrew-tap
tag-name: ${{ github.event.inputs.tag-name }}
download-url: https://github.com/edmocosta/tuistash/releases/download/${{ github.event.inputs.tag-name }}/tuistash-macos.tar.gz
download-sha256: https://github.com/edmocosta/tuistash/releases/download/${{ github.event.inputs.tag-name }}/tuistash-macos.sha256
commit-message: |
{{formulaName}} {{version}}
env:
COMMITTER_TOKEN: ${{ secrets.COMMITTER_TOKEN }}