Open shawnachieve opened 1 year ago
Im having the same issue on a composer update
after using - uses: php-actions/composer@v6
I am having the same issue with Exit Code 125:
Run php-actions/composer@v6
with:
php_version: 7.4
php_extensions: redis intl grpc zip dom curl libxml mbstring zip pcntl pdo sqlite pdo_sqlite bcmath soap intl gd exif iconv imagick
version: [2](https://github.com/dsentker/XX/actions/runs/XXX/jobs/XXX#step:4:2).x
command: install
interaction: no
dev: yes
progress: no
quiet: no
Run set -e
set -e
bash <(curl -s https://raw.githubusercontent.com/php-actions/php-build/cee5b9fa9fbc4c888e7a62bbb7b8eade18e[3](https://github.com/dsentker/XX/actions/runs/XXX/jobs/XXX#step:4:3)c56b/php-build.bash) composer
/home/runner/work/_actions/php-actions/composer/v6/composer-action.bash
shell: /usr/bin/bash --noprofile --norc -e -o pipefail {0}
env:
ACTION_VERSION: 2.x
ACTION_PHP_VERSION: 7.[4](https://github.com/dsentker/XX/actions/runs/XXX/jobs/XXX#step:4:4)
ACTION_PHP_EXTENSIONS: redis intl grpc zip dom curl libxml mbstring zip pcntl pdo sqlite pdo_sqlite bcmath soap intl gd exif iconv imagick
ACTION_TOKEN: ***
ACTION_COMMAND: install
ACTION_ONLY_ARGS:
ACTION_INTERACTION: no
ACTION_DEV: yes
ACTION_PROGRESS: no
ACTION_QUIET: no
ACTION_ARGS:
ACTION_SSH_KEY:
ACTION_SSH_KEY_PUB:
ACTION_SSH_DOMAIN:
ACTION_SSH_PORT:
ACTION_WORKING_DIR:
ACTION_MEMORY_LIMIT:
Building PHP 7.4 with extensions: redis intl grpc zip dom curl libxml mbstring zip pcntl pdo sqlite pdo_sqlite bcmath soap intl gd exif iconv imagick ...
Error: Process completed with exit code 12[5](https://github.com/dsentker/XX/actions/runs/XXX/jobs/XXX#step:4:5).
Try adding /root
as directory under Resources/File sharing
if you're using Docker Desktop.
This could entirely be an issue with Act and not this library as I've seen in the issue queue previous issues with Act. But I'd appreciate any guidance that can be offered on this error. I haven't been able to find any reference to an exitcode 125 in either this action source code or the composer source code. So I haven't been able to determine a root cause.
Thank you.
First some context:
Problem description: The build fails with "exitcode '125' when running the simplest form of the action.
Prior to this error, there is the error message "The path /root/.gitconfig is not shared from the host and is not known to Docker." and "ERRO[0000] error waiting for container: context canceled"
Action Step code: Here is the step code for the action. Note that I've stripped this down to the bare minimum for now to try to get anything to work.
Debug Output: Here is the relevant output from the Act debug log: