Skip to content

Automate brew update after release #2

Automate brew update after release

Automate brew update after release #2

Workflow file for this run

name: Release test
on:
pull_request:
branches:
- main
jobs:
homebrew-release-1:
name: Bump Homebrew CLI and mini-langstream
runs-on: ubuntu-latest
steps:
- name: Set output
id: vars
run: |
tttt=refs/tags/v0.3.1
echo "tag=${tttt/refs\/tags\//}" >> $GITHUB_OUTPUT
echo "version=${tttt/refs\/tags\/v/}" >> $GITHUB_OUTPUT
- uses: mislav/bump-homebrew-formula-action@v3
with:
formula-name: Langstream
download-url: https://github.com/LangStream/langstream/releases/download/${{ steps.vars.outputs.tag }}/langstream-cli-${{ steps.vars.outputs.version }}.zip
homebrew-tap: LangStream/homebrew-langstream
tag-name: v0.3.1
env:
COMMITTER_TOKEN: ${{ secrets.HOMEBREW_TOKEN }}