Skip to content

Bump homebrew

Bump homebrew #43

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/[email protected]
with:
token: ${{ secrets.GH_HOMEBREW_TOKEN }}
formula: dasel
tap: homebrew/core
tag: ${{ env.RELEASE_VERSION }}
force: true