Skip to content

0.4.5

0.4.5 #8

Workflow file for this run

name: Homebrew
on:
release:
types: [ released ]
jobs:
homebrew:
name: Bump Homebrew formula
if: ${{ github.event_name != 'push' || !contains(github.ref, '-') }}
runs-on: ubuntu-latest
permissions:
contents: read
steps:
- name: Extract version
id: extract-version
run: |
echo "tag-name=${GITHUB_REF#refs/tags/}" >> $GITHUB_OUTPUT
- uses: mislav/bump-homebrew-formula-action@v3
with:
formula-name: three-body
formula-path: Formula/t/three-body.rb
homebrew-tap: Homebrew/homebrew-core
base-branch: master
download-url: https://github.com/rustq/3body-lang/archive/refs/tags/${{ steps.extract-version.outputs.tag-name }}.tar.gz
commit-message: |
{{formulaName}} {{version}}
Created by https://github.com/mislav/bump-homebrew-formula-action
env:
COMMITTER_TOKEN: ${{ secrets.COMMITTER_TOKEN }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}