Skip to content

Commit 5f399a1

Browse files
Fix breaking upload release artifacts step
use github.rest.repos
1 parent fb07da5 commit 5f399a1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/publish-code.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ jobs:
5454
const { repo: { owner, repo }, sha } = context;
5555
for (let file of await fs.readdir('PackOutputs')) {
5656
console.log('uploading', file);
57-
await github.repos.uploadReleaseAsset({
57+
await github.rest.repos.uploadReleaseAsset({
5858
owner,
5959
repo,
6060
release_id: ${{ github.event.release.id }},

0 commit comments

Comments
 (0)