-
-
Notifications
You must be signed in to change notification settings - Fork 137
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fullProjectPath is not set when using runAsHostUser #255
Labels
bug
Something isn't working
Comments
falko17
added a commit
to falko17/unity-test-runner
that referenced
this issue
Dec 24, 2023
falko17
added a commit
to falko17/unity-test-runner
that referenced
this issue
Dec 24, 2023
falko17
added a commit
to falko17/unity-test-runner
that referenced
this issue
Dec 24, 2023
This should catch bugs like the one described in game-ci#255.
This was referenced Dec 24, 2023
falko17
added a commit
to falko17/unity-test-runner
that referenced
this issue
Dec 24, 2023
falko17
added a commit
to falko17/unity-test-runner
that referenced
this issue
Dec 24, 2023
This should catch bugs like the one described in game-ci#255.
webbertakken
pushed a commit
that referenced
this issue
Dec 25, 2023
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Bug description
When setting
runAsHostUser
to true, the action gets the host user/group information using thestat -c
command on"$fullProjectPath"
, however, this fullProjectPath variable is never set. This results in the following error message:and then the action aborts.
How to reproduce
Start the unity-test-runner action on a self-hosted runner (running Ubuntu) with
runAsHostUser
set to true.Expected behavior
I expect the action to run as host user (the full project path would need to be set) and not abort.
Additional details
The problem might also be a configuration problem on my side, but I believe the problem is in the entrypoint.sh file, above line 16. I think the line where the fullProjectPath is being set is missing. (or at least I compared to the entrypoint.sh of unity-builder, and there at line 14 the fullProjectPath variable is set, so I think this line is needed for the unity-test-runner as well.
I hope I described the issue sufficiently, if not I'd be happy to provide more details. Thank you for your help!
The text was updated successfully, but these errors were encountered: