mirror of
https://github.com/oven-sh/setup-bun.git
synced 2025-02-22 17:50:13 +08:00
Fix encoding bug with 'action:<number>' version
This commit is contained in:
parent
13974bf408
commit
1c8c9a7615
2
dist/setup.js
vendored
2
dist/setup.js
vendored
@ -59,7 +59,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;
|
||||
|
@ -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…
x
Reference in New Issue
Block a user