chore: update upload-build script
Some checks failed
Release / build (ubuntu-latest) (push) Has been cancelled
Release / build (windows-latest) (push) Has been cancelled

This commit is contained in:
Zamitto 2025-01-28 20:15:30 -03:00
parent 18c6994df6
commit f6eedde976

View File

@ -49,14 +49,14 @@ fs.readdir(dist, async (err, files) => {
})
);
if (uploads.length > 0) {
for (const upload of uploads) {
await fetch(process.env.BUILD_WEBHOOK_URL, {
method: "POST",
headers: {
"Content-Type": "application/json",
},
body: JSON.stringify({
uploads,
upload,
branchName: process.env.BRANCH_NAME,
version: packageJson.version,
githubActor: process.env.GITHUB_ACTOR,