Browse Source

release: update github api (#19022)

Aaron Teo 1 week ago
parent
commit
8b30840703
1 changed files with 1 additions and 1 deletions
  1. 1 1
      .github/workflows/release.yml

+ 1 - 1
.github/workflows/release.yml

@@ -897,7 +897,7 @@ jobs:
             for (let file of await fs.readdirSync('./release')) {
               if (path.extname(file) === '.zip' || file.endsWith('.tar.gz')) {
                 console.log('uploadReleaseAsset', file);
-                await github.repos.uploadReleaseAsset({
+                await github.rest.repos.uploadReleaseAsset({
                   owner: context.repo.owner,
                   repo: context.repo.repo,
                   release_id: release_id,