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

setup-local does not work on self-hosted runners #15

Open
AngellusMortis opened this issue Jun 9, 2022 · 1 comment
Open

setup-local does not work on self-hosted runners #15

AngellusMortis opened this issue Jun 9, 2022 · 1 comment

Comments

@AngellusMortis
Copy link

AngellusMortis commented Jun 9, 2022

It looks the action is hardcoding the expected path to download the local tunnel to. This causes a permission denied error if you are not using a filesystem setup exactly like a Github hosted runner.

https://github.com/browserstack/github-actions/blob/master/setup-local/src/binaryControl.js#L47

The code should probably use one of the Runner provided environment variables for where you can download tools to. Either RUNNER_TEMP or RUNNER_TOOL_CACHE.

https://docs.github.com/en/actions/learn-github-actions/environment-variables#default-environment-variables

@CalvinGocMMLLC
Copy link

#17

This PR has changes that fix the issue

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants