mirror of
https://github.com/oven-sh/setup-bun.git
synced 2025-07-18 12:38:24 +02:00
Fix encoding bug with 'action:<number>' version
This commit is contained in:
parent
13974bf408
commit
1c8c9a7615
2 changed files with 2 additions and 2 deletions
|
@ -79,7 +79,7 @@ function getDownloadUrl(options?: {
|
|||
cacheKey: null,
|
||||
};
|
||||
}
|
||||
const release = options?.version ?? "latest";
|
||||
const release = encodeURIComponent(options?.version ?? "latest");
|
||||
const os = options?.os ?? process.platform;
|
||||
const arch = options?.arch ?? process.arch;
|
||||
const avx2 = options?.avx2 ?? true;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue