trunk 0.21.14

Build, bundle & ship your Rust WASM application to the web.
name: Brew
on:
  workflow_dispatch:
    inputs:
      tag-name:
        description: 'The git tag name to bump the formula to.'
        required: true

  workflow_call:
    inputs:
      tag-name:
        type: string
        description: 'The git tag name to bump the formula to.'
        required: true
    secrets:
      HOMEBREW_GITHUB_API_TOKEN:
        required: true

jobs:
  brew:
    name: Bump Brew Version
    runs-on: ubuntu-22.04
    steps:
      - name: Release | Brew
        uses: mislav/bump-homebrew-formula-action@v3
        with:
          tag-name: ${{ github.event.inputs.tag-name }}
          formula-name: trunk
          formula-path: Formula/t/trunk.rb
        env:
          COMMITTER_TOKEN: ${{ secrets.HOMEBREW_GITHUB_API_TOKEN }}