Skip to content

Wrong temp path is used #90

Open
Open
@mgrman-unity

Description

@mgrman-unity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions