2022-03-09 13:26:51 +01:00
|
|
|
name: Release on Homebrew
|
|
|
|
|
|
|
|
on:
|
|
|
|
workflow_dispatch:
|
|
|
|
inputs:
|
|
|
|
branch:
|
|
|
|
description: "The branch, tag or SHA to release from"
|
|
|
|
required: true
|
|
|
|
default: "master"
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
brew-release:
|
|
|
|
name: Release the Homebrew Package
|
|
|
|
runs-on: macos-latest
|
|
|
|
|
|
|
|
steps:
|
|
|
|
- uses: actions/checkout@v3
|
|
|
|
with:
|
|
|
|
ref: ${{ github.event.inputs.branch }}
|
|
|
|
|
2023-01-04 12:18:15 +01:00
|
|
|
- uses: mislav/bump-homebrew-formula-action@v2
|
2022-03-09 13:26:51 +01:00
|
|
|
with:
|
|
|
|
formula-name: httpie
|
|
|
|
tag-name: ${{ github.events.inputs.branch }}
|
|
|
|
env:
|
|
|
|
COMMITTER_TOKEN: ${{ secrets.BREW_UPDATE_TOKEN }}
|