mirror of
https://github.com/moonrepo/setup-rust.git
synced 2025-04-29 21:40:01 +00:00
breaking: Rework bins setting.
This commit is contained in:
parent
6e8ea78761
commit
cef1bc3f53
3 changed files with 8 additions and 4 deletions
|
@ -62,8 +62,7 @@ export async function installBins() {
|
|||
.getInput('bins')
|
||||
.split(',')
|
||||
.map((bin) => bin.trim())
|
||||
.filter(Boolean)
|
||||
.map((bin) => (bin.startsWith('cargo-') ? bin : `cargo-${bin}`));
|
||||
.filter(Boolean);
|
||||
|
||||
if (CACHE_ENABLED) {
|
||||
bins.push('cargo-cache');
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue