diff --git a/src/utils/getGithubRelease.ts b/src/utils/getGithubRelease.ts index 1de7186..540a8e4 100644 --- a/src/utils/getGithubRelease.ts +++ b/src/utils/getGithubRelease.ts @@ -25,7 +25,7 @@ export default async(version: string, token: string, miscTestBuilds: boolean): P headers: { 'Content-Type': 'application/json', 'User-Agent': 'setup-bun-github-action', - 'Authorization': token + 'Authorization': `token ${token}` } })).json(); @@ -33,4 +33,4 @@ export default async(version: string, token: string, miscTestBuilds: boolean): P ...release, version: miscTestBuilds ? `timestamp-v${new Date(release.name).getTime().toString()}` : release.tag_name.replace('bun-v', '') }; -} \ No newline at end of file +}