Open ms609 opened 4 months ago
A google search for exec: environment variable contains NUL
seems to suggest this message comes from go
.
I'm not sure if/how that's involved in your runner.
I don't immediately see how this action could be the cause of such an envvar.
go
is not installed or used in the runner (unless indirectly within act
?)
go
is not installed or used in the runner (unless indirectly withinact
?)
I'm assuming act
means https://github.com/nektos/act, in which case, yes, it seems to be written in go
.
It seems like this might be an interaction between this checking that the go
runtime does on the Windows environment and the one that Cygwin sets up (which is different to the environment seen by Cygwin processes (see https://cygwin.com/cygwin-ug-net/setup-env.html#setup-env-win32), but I can't quite convince myself that the process heirarchy would be one where that makes sense.
I guess a simple investigation would be to test if a trivial go program, built using Window go compiler, runs under a Cygwin shell or issues the same error.
I'm running cygwin/cygwin-install-action@v4 from a Windows runner, using
act pull_request -j build-windows -P windows-latest=-self-hosted -s GITHUB_TOKEN="<...>"
Here's the top of my action.yml script:
I see:
Do you have any advice?
Full output