Skip to content

Commit 9e27f47

Browse files
committed
gh api path fix
1 parent d1dc1b7 commit 9e27f47

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/apx-gcs-release.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -206,15 +206,15 @@ jobs:
206206
if (file.name.endsWith('.xml'))
207207
continue;
208208
console.log('uploading', file.name);
209-
await github.repos.uploadReleaseAsset({
209+
await github.rest.repos.uploadReleaseAsset({
210210
owner, repo,
211211
release_id: "${{ steps.create_release.outputs.id }}",
212212
name: file.name,
213213
data: await fs.readFile(`package/${file.name}`)
214214
});
215215
}
216216
217-
github.repos.updateRelease({
217+
github.rest.repos.updateRelease({
218218
owner, repo,
219219
release_id: "${{ steps.create_release.outputs.id }}",
220220
draft: false

0 commit comments

Comments
 (0)