setup-php: Sudden pecl errors with self-hosted runner
Describe the bug
My actions workflow on a self-hosted runner has started spitting out new pecl errors all of a sudden in PHP 8.0
Version
- I have checked releases, and the bug exists in the latest patch version of
v1orv2. -
v2 -
v1
Runners
- GitHub Hosted
- Self Hosted
Operating systems
Ubuntu 20.04 LTS
PHP versions
PHP 8.0
To Reproduce
- name: Setup PHP
uses: shivammathur/setup-php@2.17.0
with:
php-version: 8.0
tools: cs2pr
env:
runner: self-hosted # Specify the runner.
Expected behavior
It was working before as normal, setting up PHP 8.0.
Screenshots/Logs
Run shivammathur/setup-php@2.17.0
with:
php-version: 8
tools: cs2pr
ini-file: production
env:
runner: self-hosted
/bin/bash /opt/actions-runner/1/_work/_actions/shivammathur/setup-php/2.17.0/src/scripts/run.sh
==> Setup PHP
grep: : No such file or directory
grep: : No such file or directory
/opt/actions-runner/1/_work/_actions/shivammathur/setup-php/2.17.0/src/scripts/../scripts/unix.sh: line 170: php_config: parameter null or not set
ln: failed to create symbolic link '/opt/actions-runner/1/_work/_actions/shivammathur/setup-php/2.17.0/src/configs/ini/conf.d/99-pecl.ini': No such file or directory
chmod: cannot access '/conf.d/99-pecl.ini': No such file or directory
ā PHP Switched to PHP
==> Setup Tools
ā composer Could not download composer
Additional context
Are you willing to submit a PR?
Honestly right now have no idea of a fix
About this issue
- Original URL
- State: closed
- Created 2 years ago
- Comments: 18 (8 by maintainers)
Yepp can confirm that iām no longer seeing the same issues. Thanks again!