Bump homebrew #35
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
on: | |
workflow_run: | |
workflows: ["Build"] | |
types: | |
- completed | |
name: Bump homebrew | |
jobs: | |
publish: | |
name: Update homebrew-core | |
runs-on: macos-latest | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
fetch-depth: 0 | |
- name: Set env | |
run: echo "RELEASE_VERSION=$(git describe --tags --abbrev=0)" >> $GITHUB_ENV | |
- name: Homebrew bump formula | |
uses: dawidd6/action-homebrew-bump-formula@v3.8.0 | |
with: | |
token: ${{ secrets.GH_HOMEBREW_TOKEN }} | |
formula: dasel | |
tap: homebrew/core | |
tag: ${{ env.RELEASE_VERSION }} | |
force: true |