Where do I find binaries? #7620
-
Hi. This might be a silly question but I have read the docs and it's a problem I'm still having nonetheless. I'm writing many actions that need to programmatically find and sometimes iterate the available software to find a compatible version for a workflow. When working on Ubuntu, things are slightly simpler because I can make some assumptions by replicating the APT installation process locally. On MacOS and Windows, I have absolutely no idea what to do. I often need to iterate the versions of Do people just |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Hi @alandefreitas. All of the executables that you can use 'out of the box' are located in directories listed in PATH environment variable. I believe it's the easiest way to find all of them. Also you can try to examine installation scripts. For example, scripts for Windows are here: https://github.com/actions/runner-images/tree/main/images/win/scripts/Installers |
Beta Was this translation helpful? Give feedback.
Hi @alandefreitas.
All of the executables that you can use 'out of the box' are located in directories listed in PATH environment variable. I believe it's the easiest way to find all of them.
Also you can try to examine installation scripts. For example, scripts for Windows are here: https://github.com/actions/runner-images/tree/main/images/win/scripts/Installers