Commit 7a5bffc0a6 applied a fix to the macOS build script. This applies the same fix to the GitHub Actions workflow that is actually currently used on CI.
7a5bffc0a6