gitui/.github/workflows/brew.yml
2023-08-30 16:49:22 +02:00

24 lines
570 B
YAML

name: brew update
on:
# only manually
workflow_dispatch:
inputs:
tag-name:
required: true
description: 'release tag'
jobs:
update_brew:
runs-on: ubuntu-latest
steps:
- name: Bump homebrew-core formula
uses: mislav/bump-homebrew-formula-action@v2
env:
COMMITTER_TOKEN: ${{ secrets.BREW_TOKEN }}
with:
formula-name: gitui
# https://github.com/mislav/bump-homebrew-formula-action/issues/58
formula-path: Formula/g/gitui.rb
tag-name: ${{ github.event.inputs.tag-name }}