mirror of
https://github.com/softprops/action-gh-release.git
synced 2025-05-13 19:54:20 +00:00
format upload url
This commit is contained in:
parent
11282f4ee9
commit
d9cc08588c
4 changed files with 25 additions and 3 deletions
|
@ -144,7 +144,10 @@ export const upload = async (
|
|||
method: "POST",
|
||||
body
|
||||
});
|
||||
return resp.json();
|
||||
console.log(`resp`, resp);
|
||||
const json = await resp.json();
|
||||
console.log(`body`, json);
|
||||
return json;
|
||||
|
||||
// return await gh.rest.repos.uploadReleaseAsset({
|
||||
// url,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue