Skip to content

Bump homebrew

Bump homebrew #42

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