-
-
Notifications
You must be signed in to change notification settings - Fork 54
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
curl command not found #76
Comments
Hi @WybeBaT , In the next couple of days I'll recreate your settings in the example-composer repository to see if I can replicate the issues. One thing I have noticed, but I doubt would cause the issue, is that |
Thanks a lot for looking into it. Good catch on the |
@WybeBaT I'm struggling to replicate the issue you're sharing. I have an example-composer repository for testing in. Do you think you could help me replicate the issue there by creating a new workflow that matches yours as closely as possible? The only thoughts I've had so far are that your action is running on a self-hosted image... why that would prevent curl from being available, I don't know, but it's worth starting the investigation there. I'd like to resolve this with you if you are willing and able to spend a few minutes with me. Thanks, |
I'm trying to use composer@v2 to install dependencies, however I get an error saying the curl command is not found
/__w/_temp/2236824c-0115-4211-aa6e-f45dbd70b342.sh: line 1: curl: command not found
I also ran into #61, which I worked around with the "Touch output file (temporary fix)" step.
Below is my workflow file, commented lines are things that I've tried to fix the issue:
If I comment out the composer action, the PHPStan action gives me the same curl: command not found* error
EDIT:
The Install curl step above didn't work because I needed to do apt-get update first:
However, the composer package still doesn't work. It returns 1 and gives an empty Debug Output:
And just to be complete: When I manually install curl and composer. The @php-actions/phpstan action fails, with the same returns 1 and empty Debug Output as above.
EDIT 2:
I decided to save the output.log as artifact after the phpstan action. Inside it, I get the following error:
The text was updated successfully, but these errors were encountered: