sync with upstream

This commit is contained in:
Rimo
2024-01-25 15:46:42 +00:00
parent 89a583bcb4
commit 4191da5daf
35 changed files with 30600 additions and 10240 deletions

View File

@@ -92,7 +92,7 @@ function getDownloadUrl(version: string): string {
* @returns the latest version
*/
async function getLatestVersion(): Promise<string> {
const token = core.getInput('github-token', {required: true})
const token = core.getInput('github-token', { required: true })
const octokit = github.getOctokit(token)
const response = await octokit.rest.repos.getLatestRelease({
owner: 'aliyun',