Closed erkexzcx closed 1 year ago
Hi, @erkexzcx 👋 I tried to reproduce the issue you state on my Windows self-hosted runner but with no luck. I believe it's the issue on your image side.
Hi, @erkexzcx 👋 I'm closing this issue, if it's not resolved for you or you have any additional questions, feel free to reopen issue!
This is not a bug report, but rather consultation. I am using self-hosted Windows runner. Ephemeral one, in AWS. Please advise if this is intended behavior when PATH is not updated on Windows runners or is it an issue from my side (miconfiguration/lack of permissions)? No errors are thrown...
Here is the simple CI/CD workflow I am trying to run:
The output is this:
Setup .NET - OK, but it prints interesting detail
dotnet-install: Adding to current process PATH: "C:\Program Files\dotnet\". Note: This change will not be visible if PowerShell was run as a child process.
.Print dotnet version (using PATH, ignore error) - fails with
dotnet.exe : The term 'dotnet.exe' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
.Print dotnet version (using fullpath to executable) - OK. Works as expected.
Please advise if this is expected behavior on Windows runners or is there some kind of misconfiguration/lack of permissions from my side?