Couldn't run binary after using $GITHUB_PATH #26373
-
Hi Github community, This worked for me:
now I switched to this:
and the Thank you for your help! |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments
-
That’s probably because you’re trying to use bash syntax on Windows without setting the shell to bash. See this thread for a similar problem, the solutions described there should work for you, too:
Hi Github Community, I’m having trouble using $GITHUB_PATH. I can’t tell if I’m not using it correctly, or if It’s not executing correctly. For both of the following links, please pay attention to the Windows builds only. Here is a link to a previous version of a Github Action script that did work prior the switch to $GITHUB_PATH. Here is a link to the most recent version of the Github Action script that stopped working with the $GITHUB_PATH changes. Please note specifically the steps titl… |
Beta Was this translation helpful? Give feedback.
-
@airtower-luna thanks! It helped. Is this new? I never specified shell before, and everything was running well. |
Beta Was this translation helpful? Give feedback.
-
I guess with the old add-path syntax the difference was small enough that in most cases it just worked. I mean, in |
Beta Was this translation helpful? Give feedback.
That’s probably because you’re trying to use bash syntax on Windows without setting the shell to bash. See this thread for a similar problem, the solutions described there should work for you, too: