Open bucchi-kitamura opened 1 month ago
@bucchi-kitamura
I could not reproduce the issue, please try running your workflow again. If you still facing this issue, please run the workflow with shivammathur/setup-php@verbose
instead of v2
and provide me the logs.
Test: https://github.com/shivammathur/test-setup-php/actions/runs/11472670438/workflow
@shivammathur
Thanks for doing the research.
Test: https://github.com/shivammathur/test-setup-php/actions/runs/11472670438/workflow
Comparing Test with my workflow, I noticed that my workflow uses cache. I tried it without using cache and it was successful.
I changed the workflow to not perform the following tasks and was successful
- name: Setup cache environment
id: cache-env
uses: shivammathur/cache-extensions@v1
with:
php-version: ${{ matrix.php-versions }}
extensions: ${{ env.extensions }}
key: ${{ env.php-cache-key }}
- name: Cache extensions
uses: actions/cache@v4
with:
path: ${{ steps.cache-env.outputs.dir }}
key: ${{ steps.cache-env.outputs.key }}
restore-keys: ${{ steps.cache-env.outputs.key }}
https://github.com/shivammathur/cache-extensions
Is it possible that phalcon is not cached on our end? I don't know the details, so sorry if I'm pointing out the wrong thing.
The system didn't slow down much even without using the cache, so I'm starting to think it might be okay to choose not to use it.
Describe the bug Hello!
I can no longer install phalcon with GitHub Actions. Do you know what the problem is?
The problem occurred at 08:00 Japan time on 2024-10-07.
Expected behavior I want to be able to install phalcon.
Screenshots/Logs
When you fail
This may not be relevant, but I will list the Ubuntu version
setup-php logs
Error: Process '/usr/bin/bash' failed with exit code null. The above error occurred. ``` ##[debug]Evaluating condition for step: 'Setup PHP, with composer and extensions' ##[debug]Evaluating: success() ##[debug]Evaluating success: ##[debug]=> true ##[debug]Result: true ##[debug]Starting: Setup PHP, with composer and extensions ##[debug]Loading inputs ##[debug]Evaluating: matrix.php-versions ##[debug]Evaluating Index: ##[debug]..Evaluating matrix: ##[debug]..=> Object ##[debug]..Evaluating String: ##[debug]..=> 'php-versions' ##[debug]=> '8.1' ##[debug]Result: '8.1' ##[debug]Evaluating: env.extensions ##[debug]Evaluating Index: ##[debug]..Evaluating env: ##[debug]..=> Object ##[debug]..Evaluating String: ##[debug]..=> 'extensions' ##[debug]=> 'mbstring, dom, zip, phalcon5, psr, mysql' ##[debug]Result: 'mbstring, dom, zip, phalcon5, psr, mysql' ##[debug]Loading env Run shivammathur/setup-php@v[2](https://github.com/project/actions/runs/11382913300/job/31888204866#step:7:2) with: php-version: 8.1 extensions: mbstring, dom, zip, phalcon5, psr, mysql ini-file: production env: extensions: mbstring, dom, zip, phalcon5, psr, mysql php-cache-key: php-cache-v1 require-deploy: false BRANCH_NAME: github-actions update: true /usr/bin/bash /home/runner/work/_actions/shivammathur/setup-php/v2/src/scripts/run.sh ==> Setup PHP ✓ PHP Updated to PHP 8.1.[3](https://github.com/project/actions/runs/11382913300/job/31888204866#step:7:3)0 ==> Setup Extensions ✓ mbstring Enabled ✓ dom Enabled ✓ zip Enabled Error: The process '/usr/bin/bash' failed with exit code null ##[debug]Node Action run completed with exit code 1 ##[debug]Set output php-version = [8](https://github.com/project/actions/runs/11382913300/job/31888204866#step:7:8).1.30 ##[debug]Finishing: Setup PHP, with composer and extensions ```When we were successful
setup-php logs
``` Run shivammathur/setup-php@v2 with: php-version: 8.1 extensions: mbstring, dom, zip, phalcon5, psr, mysql ini-file: production env: extensions: mbstring, dom, zip, phalcon5, psr, mysql php-cache-key: php-cache-v1 require-deploy: false BRANCH_NAME: main update: true /usr/bin/bash /home/runner/work/_actions/shivammathur/setup-php/v2/src/scripts/run.sh ==> Setup PHP ✓ PHP Updated to PHP 8.1.30 ==> Setup Extensions ✓ mbstring Enabled ✓ dom Enabled ✓ zip Enabled ✓ phalcon Enabled ✓ psr Enabled ✓ mysql Enabled ==> Setup Tools ✓ composer Added composer 2.8.1 ==> Sponsor setup-php ✓ setup-php https://setup-php.com/sponsor ```Version
v1
orv2
.v2
v1
Runners
Operating systems
PHP versions
To Reproduce
Additional context https://github.blog/changelog/2024-09-25-actions-new-images-and-ubuntu-latest-changes/
I tried it because there was a difference in the ubuntu version. The result did not change.
Are you willing to submit a PR?