Brew formula update for penguinctl version v0.7.1 #45
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: extract-info | |
on: push | |
# push: | |
# branches: master | |
jobs: | |
json: | |
runs-on: macos-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: brew info --json | |
run: | | |
rm -rf Info | |
mkdir -p Info | |
cd Formula | |
for formula in *.rb; do | |
brew info --json "$formula" | jq '.[0]? // .' > ../Info/${formula/%rb/json} | |
done | |
- uses: stefanzweifel/git-auto-commit-action@v4 | |
with: | |
commit_message: 'chore: Generated formula JSON: `brew info --json <formula>`' | |
file_pattern: Info |