Fix GNU sed PATH in CI workflows for macOS runner

BSD sed on macOS requires `sed -i ''` but auto-update.sh uses GNU
`sed -i` syntax. The workflows installed gnu-sed via Homebrew but
never added it to PATH, causing "invalid command code M" failures.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
Mathias Beaulieu-Duncan 2026-02-14 10:45:46 -05:00
parent 58b9ccb56c
commit dc37b435c3
2 changed files with 4 additions and 0 deletions

View File

@ -20,6 +20,8 @@ jobs:
build: build:
runs-on: [self-hosted, macos] runs-on: [self-hosted, macos]
timeout-minutes: 180 timeout-minutes: 180
env:
PATH: /opt/homebrew/opt/gnu-sed/libexec/gnubin:/opt/homebrew/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin
steps: steps:
- name: Checkout - name: Checkout

View File

@ -15,6 +15,8 @@ jobs:
check-and-build: check-and-build:
runs-on: [self-hosted, macos] runs-on: [self-hosted, macos]
timeout-minutes: 15 timeout-minutes: 15
env:
PATH: /opt/homebrew/opt/gnu-sed/libexec/gnubin:/opt/homebrew/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin
steps: steps:
- name: Checkout - name: Checkout