intellij-platform-plugin-template
intellij-platform-plugin-template copied to clipboard
Fix "No space left on device" in build job
- Add "Maximize Build Space" step to Build job, to prevent
System.IO.IOException: No space left on device. (It was already in the Inspect code and Verify plugin jobs.) - Also add it to the Test job, assuming that will start running out of space soon too.
- Also add it to the Release workflow, which runs a build (thanks tsvetilian-ty)
- Pin jlumbroso/free-disk-space action to particular ~~version~~ SHA for security and to avoid unexpected workflow behavior changes.
I encountered a "No space left on device" error during a build job. I tried a fix, and it worked perfectly! 🎉
I can confirm, applied the same changes to my plugin and it did the job!
Don't we need the jlumbroso/free-disk-space before the fetch step in the .github/workflows/release.yml workflow?
Don't we need the
jlumbroso/free-disk-spacebefore the fetch step in the.github/workflows/release.ymlworkflow?
Probably yes, since that workflow ends up (re-)running the build task.
Merged, thank you!