Skip to content

Commit

Permalink
Adds workflow to trigger a homebrew release manually
Browse files Browse the repository at this point in the history
  • Loading branch information
pastuxso committed Oct 18, 2023
1 parent 18500e4 commit ed66a3e
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions .github/workflows/homebrew.yml
Original file line number Diff line number Diff line change
@@ -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 }}

0 comments on commit ed66a3e

Please sign in to comment.