composer
composer copied to clipboard
Imposible to install intl extension on windows-latest + PHP 7.4/8.0
Log (https://github.com/LastDragon-ru/tmp-phpunit-workflow/runs/1790193993?check_suite_focus=true)
Run php-actions/composer@v5
with:
command: update
php_version: 7.4
php_extensions: intl
version: latest
interaction: no
dev: yes
progress: no
quiet: no
Building PHP 7.4 with extensions: intl ...
cat: 'D:atmp-phpunit-workflowtmp-phpunit-workflow/output.log': No such file or directory
Error: Process completed with exit code 1.
I'll take a look into why this is occurring and get back to you later.
I've isolated the issue to https://github.com/php-actions/php-build - this repository is used to create the Docker packages that run PHP within your actions, and it's failing due to the naming convention I've picked. It calls the packages by a name that contains the version of PHP, list of extensions, etc. but it doesn't mention the operating system. I hadn't expected people would be using Windows for PHP development so this never came up in testing.
I'll do some testing in the php-actions/example-composer repository to see how this can be improved.
@g105b, thank you. I test my packages on windows just for the case. So this bug absolutely not critical :)
All https://github.com/PhpGt repositories will be getting Windows compatibility soon, so I will have a bunch of repositories to test this when I get the fix soon.
Is there any environment variable available within the container that indicates the operating system and version?
Closing due to inactivity. Please open if this is still unanswered for you.