-
I’m trying to replace the deprecated add-path. However, while the first fragment works, the new one does not (checkout action doesn’t find git executable). What am I doing wrong here? ==== > original
==== > new
|
Beta Was this translation helpful? Give feedback.
Replies: 4 comments
-
Hey @w3sip, Can you please try
You may also choose to checkout our docs which list how to do this in powershell There was a similar topic recently which may be helpful, see Migration from deprecated add-path on windows |
Beta Was this translation helpful? Give feedback.
-
That does not seem to work. EDIT: got it going with Two suggestions:
|
Beta Was this translation helpful? Give feedback.
-
thboop:
Hey @w3sip, I apologize I forgot to add the Take a look at the following workflow
You can see it gets added to the path. I’ll get our docs updated so others don’t run into this issue! |
Beta Was this translation helpful? Give feedback.
-
Ha, you beat me to it! Thanks! |
Beta Was this translation helpful? Give feedback.
Hey @w3sip, I apologize I forgot to add the
-Append
flag, if you add that it should work.Take a look at the following workflow
You can see it gets added to the path.
I’ll get our docs updated so others don’t run into t…