A collection of GitHub Actions for BrowserStack. For internal reference: https://browserstack.atlassian.net/wiki/spaces/ENG/pages/1750928573/GitHub+Integration+via+GitHub+Actions
MIT License
54
stars
36
forks
source link
`setup-local` does not work on self-hosted runners #15
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.
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.
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
orRUNNER_TOOL_CACHE
.https://docs.github.com/en/actions/learn-github-actions/environment-variables#default-environment-variables