-
-
Notifications
You must be signed in to change notification settings - Fork 357
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
ENOENT: no such file or directory, open '/opt/hostedtoolcache/linux.sh' #397
Comments
@elazar As you are using
Ref: https://github.com/shivammathur/setup-php#local-testing-setup |
@shivammathur Ah, thank you! Sorry, I probably should've noticed that myself. Once I addressed that, I ran into the error below, but was able to get past it by removing 5.4 from my workflow. Out of curiosity, why is 5.4 not supported when using a self-hosted runner?
It appears this applies to 5.5 as well?
|
Yes, I had disabled PHP 5.5 and lower on self-hosted runners as those versions are potentially insecure. May be in future, I should look to enable them while using |
Describe the bug
I'm seeing an error similar to the one described in nektos/act#197; this comment implies that the reported problem was addressed in v2. Below I've included a relevant snippet from the full logs, which are also included further down.
Version
v1
orv2
.v2
v1
Runners
Operating systems
ubuntu-latest
PHP versions
5.4, 5.5, 5.6, 7.0, 7.1, 7.2, 7.3, 7.4, 8.0, 8.1
To Reproduce
Here's the full workflow file for the relevant job.
Expected behavior
I expected the behavior to be consistent with this job as it runs on GitHub. Here's an example run of the job.
Screenshots/Logs
Additional context
I don't think there's much additional information I can provide beyond what I've enclosed above. However, if there's any way I can help to diagnose this problem further, please let me know.
Are you willing to submit a PR?
Yes, though I will require some direction about the source of the problem and how to address it first.
The text was updated successfully, but these errors were encountered: