mirror of
https://github.com/oven-sh/setup-bun.git
synced 2025-04-10 07:06:10 +08:00
fix(getGithubRelease): correct token pass
This commit is contained in:
parent
c52f1f18be
commit
933334b350
@ -25,7 +25,7 @@ export default async(version: string, token: string, miscTestBuilds: boolean): P
|
|||||||
headers: {
|
headers: {
|
||||||
'Content-Type': 'application/json',
|
'Content-Type': 'application/json',
|
||||||
'User-Agent': 'setup-bun-github-action',
|
'User-Agent': 'setup-bun-github-action',
|
||||||
'Authorization': token
|
'Authorization': `token ${token}`
|
||||||
}
|
}
|
||||||
})).json();
|
})).json();
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user