Change tool installation directory #876
Unanswered
Sn0wCrack
asked this question in
Q&A / Help
Replies: 2 comments 11 replies
-
Looking at the code I believe this may be hard coded currently: https://github.com/shivammathur/setup-php/blob/main/src/scripts/tools/add_tools.sh#L2 I can't seem to see anything else that overrides this value currently. |
Beta Was this translation helpful? Give feedback.
0 replies
-
Can you reproduce the issue on a public repo and provide me the logs with |
Beta Was this translation helpful? Give feedback.
11 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Right now all tools, such as composer, get installed globally to
/usr/local/bin
.On self-hosted runner systems with multiple runner users, this can cause issues as it appears all tools are re-downloaded every time the action is executed.
Is there currently any way to change the install path to another directory, such as
~/.local/bin
or/tmp
?Beta Was this translation helpful? Give feedback.
All reactions