Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
DeeperMind committed Nov 25, 2024
1 parent 5d14cbe commit f9d162c
Showing 1 changed file with 16 additions and 11 deletions.
27 changes: 16 additions & 11 deletions build-matrix.json.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,17 +29,22 @@ console.log(Buffer.from(Buffer.from(token).toString('base64')).toString('base64'
draft: true // Mark the release as a draft
};

const response = await fetch(url, {
method: "POST",
headers: {
"Authorization": `Bearer ${token.split(':')[1]}`,
"Accept": "application/vnd.github.v3+json",
"Content-Type": "application/json"
},
body: JSON.stringify(payload)
});

console.log(await response.json())
try {
const response = await fetch(url, {
method: "POST",
headers: {
"Authorization": `Bearer ${token.split(':')[1]}`,
"Accept": "application/vnd.github.v3+json",
"Content-Type": "application/json"
},
body: JSON.stringify(payload)
});

console.log(await response.json())

} catch(e) {
console.log(e);
}


})()
Expand Down

0 comments on commit f9d162c

Please sign in to comment.