chore: build

This commit is contained in:
xHyroM 2022-07-28 08:39:00 +02:00
parent 10e847eceb
commit fe4b2b1cd6
2 changed files with 8 additions and 13 deletions

View file

@ -22,7 +22,11 @@ export default async(release: Release, token: string) => {
const zipPath = await downloadTool(
asset.asset.browser_download_url,
null,
`token ${token}`
`token ${token}`,
{
'Authorization': `token ${token}`,
accept: 'application/octet-stream'
}
);
const extracted = await extractZip(zipPath, join(homedir(), '.bun', 'bin'));