fix(getGithubRelease): correct token pass
This commit is contained in:
@@ -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', '')
|
||||
};
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user