diff --git a/.github/workflows/homebrew.yml b/.github/workflows/homebrew.yml new file mode 100644 index 000000000..dfef1139a --- /dev/null +++ b/.github/workflows/homebrew.yml @@ -0,0 +1,23 @@ +name: release to Homebrew +on: + workflow_dispatch: + inputs: + tag-name: + type: string + description: Version to release to Homebrew + required: true + +jobs: + homebrew: + runs-on: ubuntu-latest + permissions: + contents: read + steps: + - name: Bump Homebrew Formula + uses: mislav/bump-homebrew-formula-action@v3 + with: + formula-name: runme + tag-name: ${{ github.event.inputs.tag-name }} + download-url: https://github.com/stateful/runme/archive/refs/tags/${{github.event.inputs.tag-name}}.tar.gz + env: + COMMITTER_TOKEN: ${{ secrets.COMMITTER_TOKEN }}