foreman icon indicating copy to clipboard operation
foreman copied to clipboard

Installation incorrectly picks the first file in an artifact folder

Open jackTabsCode opened this issue 1 year ago • 0 comments

When Foreman installs an artifact that is a ZIP file, it picks the first file in the folder, which doesn't always work if your release contains other files like a license or a readme.

https://github.com/Roblox/foreman/blob/main/src/tool_cache.rs#L156

My tool Asphalt is failing to install with Foreman because it's installing the license rather than the executable named asphalt.

jackTabsCode avatar Jun 07 '24 19:06 jackTabsCode