-
-
Notifications
You must be signed in to change notification settings - Fork 402
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
Describe the bug
setup-php is failing in ~0.25% cases (1 in 400) when composer tool install is required.
I am not sure where the issue is, but as you can see in the "To Reproduce" section, the repro configuration is very standard, thus the failure rate should be orders or magnitude smaller.
Version
- v2
- v1
Runners
GitHub Hosted
Operating systems
ubuntu-latest
PHP versions
8.3, probably any
To Reproduce
Expected behavior
no error
Logs
Run shivammathur/setup-php@v2
/usr/bin/bash /home/runner/work/_actions/shivammathur/setup-php/v2/src/scripts/run.sh
==> Setup PHP
✓ PHP Updated to PHP 8.3.21
==> Setup Extensions
✓ none Disabled all shared extensions
✓ curl Enabled
✓ tokenizer Enabled
✓ mbstring Enabled
✓ iconv Enabled
✓ dom Enabled
✓ xml Enabled
✓ xmlwriter Enabled
✓ ssh2 Installed and enabled
==> Setup Tools
chmod: cannot access '/usr/local/bin/composer': No such file or directory
chmod: cannot access '/usr/local/bin/composer': No such file or directory
✗ composer Could not setup composer
Error: The process '/usr/bin/bash' failed with exit code 1
Are you willing to submit a PR?
No
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working