actions
actions copied to clipboard
feat(automatic-releases): add more attempts to upload of artifacts
GitHub has a problem where upload of artifacts pretty regularly fails. automatic-releases usually manages to get around this with its fallback strategy of appending the file hash, but still occasionally fails (by my guesstimate about 5% of the time for each file, based on the fact that my project which pushes 4 artifacts seems to get a failure somewhere around 20% of the time). This PR adds several additional attempts with the hash plus a number appended, which should hopefully overcome this problem.
(Hopefully the code is alright; I've never coded in TypeScript so I sort of had to rely on copy-pasting plus what I could find on the Internet. Please let me know if any changes are needed.)
🕵️