diff --git a/action.js b/action.js index 78fd708..614c157 100644 --- a/action.js +++ b/action.js @@ -16,7 +16,7 @@ const sendFile = async (urlPath, data) => { body: data, }); - if (r.status != 200) { + if (r.status > 399) { throw `${r.status}: FAILED TO UPLOAD TO ${repoBaseUrl}/${urlPath}`; } };