Skip to content
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

Wrong temp path is used #90

Open
mgrman-unity opened this issue Jan 3, 2023 · 0 comments
Open

Wrong temp path is used #90

mgrman-unity opened this issue Jan 3, 2023 · 0 comments
Labels
bug Something isn't working

Comments

@mgrman-unity
Copy link

Bug description

In https://github.com/game-ci/unity-request-activation-file/blob/main/src/model/docker.ts there are several volumes mounted from the /home/runner/ folder. The temp folder is not always at this location, e.g. if you have multiple runners on the same machine. Instead path from RUNNER_TEMP environmental variable should be used ( https://github.com/game-ci/unity-builder/ already uses this environmental variable).

How to reproduce

Run the action on a runner where the /home/runner/ path is not accessible, and RUNNER_TEMP points somewhere else

  • Expected behavior

Actions works as expected and produce activation file.

Additional details

Error:

docker: Error response from daemon: error while creating mount source path '/home/runner/work/_temp/_github_home': mkdir /home/runner: permission denied.
Error: The process '/usr/bin/docker' failed with exit code 126
@mgrman-unity mgrman-unity added the bug Something isn't working label Jan 3, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant