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

Unable to install PHP 8.0 #435

Closed
milewski opened this issue Mar 17, 2021 · 4 comments
Closed

Unable to install PHP 8.0 #435

milewski opened this issue Mar 17, 2021 · 4 comments
Assignees
Labels
bug Something isn't working self-hosted

Comments

@milewski
Copy link

milewski commented Mar 17, 2021

Hello, on the latest version I'm facing this problem where the script says the right PHP version has been installed.. however in reality it is not...

image

these are the important bits from my action

- name: Setup PHP
  uses: shivammathur/setup-php@v2
  env:
    runner: self-hosted
  with:
    php-version: '8.x'
    tools: composer
    extensions: pdo_sqlite

- name: Install dependencies
  run: composer install --ignore-platform-reqs --no-progress

- name: Test php version
  run: php --version
@milewski milewski added the bug Something isn't working label Mar 17, 2021
@milewski
Copy link
Author

I just compared it with older builds that were working before.. I see the only difference is that the PHP version got upgraded from 8.0.2 to 8.0.3

image

@milewski
Copy link
Author

Another update..

I tried switching from v2 to verbose version... and seems to work... only v2 apparently is not working... I have also tried 2.10

image

@shivammathur
Copy link
Owner

@milewski I have pushed a patch, please try again

@milewski
Copy link
Author

It seems to be working now. I restarted some old builds that failed due to this issue and now they are green!. Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working self-hosted
Projects
No open projects
setup-php-tasks
  
Awaiting triage
Development

No branches or pull requests

2 participants