2023-08-30 17:37:18 +03:00
|
|
|
name: brew update
|
|
|
|
|
|
|
|
on:
|
|
|
|
# only manually
|
|
|
|
workflow_dispatch:
|
2023-08-30 17:49:22 +03:00
|
|
|
inputs:
|
|
|
|
tag-name:
|
|
|
|
required: true
|
|
|
|
description: 'release tag'
|
2023-08-30 17:37:18 +03:00
|
|
|
|
|
|
|
jobs:
|
|
|
|
update_brew:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
|
|
- name: Bump homebrew-core formula
|
2024-04-14 21:35:42 +03:00
|
|
|
uses: mislav/bump-homebrew-formula-action@v3
|
2023-08-30 17:37:18 +03:00
|
|
|
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
|
2023-08-30 17:49:22 +03:00
|
|
|
tag-name: ${{ github.event.inputs.tag-name }}
|