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

Installation incorrectly picks the first file in an artifact folder #97

Open
jackTabsCode opened this issue Jun 7, 2024 · 0 comments
Open

Comments

@jackTabsCode
Copy link

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 jackTabsCode changed the title Installation picks the first file in an artifact folder Installation incorrectly picks the first file in an artifact folder Jun 7, 2024
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

1 participant