syntax issues
This commit is contained in:
1 parent
0c8b282469
commit
52b73f7475
1 file changed
+2
-1
@@ -236,7 +236,7 @@ jobs:
|
|||||||
|
|
||||||
console.log(`Uploading ${fileName} from ${platform}...`);
|
console.log(`Uploading ${fileName} from ${platform}...`);
|
||||||
|
|
||||||
// Use Octokit's uploadReleaseAsset with proper content type for binary data
|
// Use Octokit's uploadReleaseAsset with proper content type for binary data
|
||||||
await github.rest.repos.uploadReleaseAsset({
|
await github.rest.repos.uploadReleaseAsset({
|
||||||
owner: context.repo.owner,
|
owner: context.repo.owner,
|
||||||
repo: context.repo.repo,
|
repo: context.repo.repo,
|
||||||
@@ -247,6 +247,7 @@ jobs:
|
|||||||
'content-type': contentType,
|
'content-type': contentType,
|
||||||
'content-length': fs.statSync(filePath).size
|
'content-length': fs.statSync(filePath).size
|
||||||
}
|
}
|
||||||
|
});
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in new issue
Block a user