Skip to content

Update formula

Update formula #39

Workflow file for this run

name: Update formula
on:
workflow_dispatch:
permissions:
contents: write
jobs:
update:
runs-on: macos-latest
steps:
- name: Check out code
uses: actions/checkout@v4
- name: Install maltmill
run: |
brew install Songmu/tap/maltmill
- name: Update formula
run: |
maltmill -w rf.rb
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Test formula
shell: bash
run: |
mkdir -p $(brew --repo)/Library/Taps/buty4649/homebrew-tap
cp -Rp . $(brew --repo)/Library/Taps/buty4649/homebrew-tap
brew install buty4649/homebrew-tap/rf
- name: Commit and push
uses: stefanzweifel/git-auto-commit-action@v4
with:
file_pattern: "*.rb"
commit_message: Update formula