You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It should allow to local test the github action just like running it from github.
Screenshots/Logs
❯ act -P ubuntu-latest=shivammathur/node:latest -W .github/workflows/v2-php8.yml
[PHP 8 no xdebug/build] 🚀 Start image=shivammathur/node:latest
[PHP 8 no xdebug/build] 🐳 docker run image=shivammathur/node:latest entrypoint=["/usr/bin/tail""-f""/dev/null"] cmd=[]
[PHP 8 no xdebug/build] 🐳 docker cp src=/home/rodolfo/git/rodolfoberrios/setup-php-test/. dst=/github/workspace
[PHP 8 no xdebug/build] ⭐ Run Checkout
[PHP 8 no xdebug/build] ✅ Success - Checkout
[PHP 8 no xdebug/build] ⭐ Run Setup PHP Action
[PHP 8 no xdebug/build] ☁ git clone 'https://github.com/shivammathur/setup-php'# ref=v2
[PHP 8 no xdebug/build] 🐳 docker cp src=/home/rodolfo/.cache/act/shivammathur-setup-php@v2 dst=/actions/
| [command]/bin/bash /opt/hostedtoolcache/linux.sh 8.0 /actions/shivammathur-setup-php@v2/dist
|| ==> Setup PHP
| ✓ PHP Found PHP 8.0.0
|| ==> Setup Tools
| ✓ composer Added composer 2.0.8
[PHP 8 no xdebug/build] ❗ ::error::The process '/bin/bash' failed with exit code null
[PHP 8 no xdebug/build] ❌ Failure - Setup PHP Action
Error: exit with `FAILURE`: 1
Additional context
I have a repo where the action executes successfully at GitHub, but in local only this workflow is working for me, the one that explicit install pear.
I tested this in two different Ubuntu 20.04 machines, I haven't tested in other OS at this time. I also tested tagging v1 (old syntax) and it works as expected.
Are you willing to submit a PR?
Not sure, I still don't have a clue on where's the issue.
The text was updated successfully, but these errors were encountered:
Describe the bug
I'm having issues testing locally on Ubuntu 20.04 with
act -P ubuntu-latest=shivammathur/node:latest
(including other tags)Version
v1
orv2
.v2
v1
Runners
Operating systems
ubuntu-latest
PHP versions
8.0
To Reproduce
Clone this repo: https://github.com/rodolfoberrios/setup-php-test
Run nektos/act:
act -P ubuntu-latest=shivammathur/node:latest -W .github/workflows/v2-php8.yml
Expected behavior
It should allow to local test the github action just like running it from github.
Screenshots/Logs
Additional context
I have a repo where the action executes successfully at GitHub, but in local only this workflow is working for me, the one that explicit install pear.
I tested this in two different Ubuntu 20.04 machines, I haven't tested in other OS at this time. I also tested tagging
v1
(old syntax) and it works as expected.Are you willing to submit a PR?
Not sure, I still don't have a clue on where's the issue.
The text was updated successfully, but these errors were encountered: