setup-php with 8.4 (nightly) is slow
brettmc opened this issue · comments
Describe the bug
Running an action with 8.4 takes ~18 minutes to install whereas the released version (eg 8.3) take about 30s
eg https://github.com/open-telemetry/opentelemetry-php/actions/runs/7191304721/job/19585781470
It seems exceptionally slow, and I'd happily use a pre-built version from earlier (if it's building from source each time?)
Version
- I have checked releases, and the bug exists in the latest patch version of
v1
orv2
. -
v2
-
v1
Runners
- GitHub Hosted
- Self Hosted
Operating systems
ubuntu-latest
PHP versions
8.4
To Reproduce
steps:
- uses: actions/checkout@v3
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: 8.4
coverage: xdebug
tools: php-cs-fixer
extensions: "ast, grpc, protobuf"
Expected behavior
To complete in a reasonable time
Additional context
Are you willing to submit a PR?
Yes
There are no builds for these extensions for PHP 8.4, so it is building them from the source on each run.
Please consider using shivammathur/cache-extensions action to cache them.