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
##[error]run-vcpkg action execution failed: Error: Unable to locate executable file: git. Please verify either the file path exists or the file can be found within a directory specified by the PATH environment variable. Also check the file mode to verify the file is executable
@Milerius thanks for the report! It looks like the problem was referencing environment variables in the env property of an action, e.g. PATH: $PATH:${{ github.workspace }}/new/path would not expand $PATH, while PATH: ${{ env.PATH }}:${{ github.workspace }}/new/path would expand PATH as well.
In my experience I have seen other source of problems:
using the colon as path separator, which depends on the shell used in the step;
using ${{ github.workspace }} in an action on Windows that uses the bash shell, since the paths in the github context are in Windows form, i.e. c:\path\;
To be platform agnostic, it usually it works best to use the bash shell on any OS, and using add-path to augment the path.
Hello i got the following error:
##[error]run-vcpkg action execution failed: Error: Unable to locate executable file: git. Please verify either the file path exists or the file can be found within a directory specified by the PATH environment variable. Also check the file mode to verify the file is executable
For the following actions snippet:
My gitmodules:
Full log:
The text was updated successfully, but these errors were encountered: