Skip to content

Workflow file for this run

name: Publish zig1
on:
repository_dispatch:
types:
- cf
permissions:
contents: write
jobs:
regenerate:
runs-on: macos-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: "3.11"
- name: Replace url and version
run: |
python fetch_latest.py
cat Formula/zig.rb
- name: Commit and push
run: |-
git config user.name "Automated"
git config user.email "actions@users.noreply.github.com"
git add -A
timestamp=$(date -u)
git commit -m "Update zig: ${timestamp}" || exit 0
git pull --rebase
git push