Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

All Mac runners failing: No such file or directory #857

Closed
caendesilva opened this issue Jul 13, 2024 · 3 comments
Closed

All Mac runners failing: No such file or directory #857

caendesilva opened this issue Jul 13, 2024 · 3 comments
Assignees
Labels
bug Something isn't working

Comments

@caendesilva
Copy link

caendesilva commented Jul 13, 2024

Mac runners on PHP 8.1, 8.2, 8.3 are failing across the board.

Run shivammathur/setup-php@v2
/bin/bash /Users/runner/work/_actions/shivammathur/setup-php/v2/src/scripts/run.sh

==> Setup PHP
sed: : No such file or directory
grep: : No such file or directory
/Users/runner/work/_actions/shivammathur/setup-php/v2/src/scripts/../scripts/unix.sh: line [1](https://github.com/hydephp/develop/actions/runs/9922425058/job/27411474130#step:2:1)89: php: command not found
mkdir: : No such file or directory
chmod: /php.ini: No such file or directory
/Users/runner/work/_actions/shivammathur/setup-php/v2/src/scripts/../scripts/unix.sh: line 1[8](https://github.com/hydephp/develop/actions/runs/9922425058/job/27411474130#step:2:9)4: php_config: parameter null or not set
cp: /php.ini: No such file or directory
cp: /php.ini-production: No such file or directory
✗ PHP Could not setup PHP 8.3
Error: The process '/bin/bash' failed with exit code 1
@shivammathur
Copy link
Owner

@caendesilva

Homebrew has enabled attestation for everyone using HOMEBREW_DEVELOPER=1 in Homebrew/brew#17692.

Now it requires setting HOMEBREW_GITHUB_API_TOKEN for it to check dependencies it downloads.

I'm testing removing HOMEBREW_DEVELOPER and will do a hotfix release if nothing breaks.

@caendesilva
Copy link
Author

Reminder to people coming across this: Working on behalf of a business? This action probably saves your company a huge amount of money. You can help prevent issues like these from happening as often by sponsoring the maintainer at https://github.com/sponsors/shivammathur. See it as an investment where you'll save a ton of cash in the long term by having to spend less time on issues like these.

@shivammathur
Copy link
Owner

shivammathur commented Jul 13, 2024

This has been resolved in Homebrew/brew#17713. Please rerun your workflows if they failed on macOS.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants