intellij-platform-plugin-template icon indicating copy to clipboard operation
intellij-platform-plugin-template copied to clipboard

Fix "No space left on device" in build job

Open medmunds opened this issue 1 year ago • 4 comments

  • 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.

medmunds avatar Oct 11 '24 19:10 medmunds

I encountered a "No space left on device" error during a build job. I tried a fix, and it worked perfectly! 🎉

siropkin avatar Nov 04 '24 14:11 siropkin

I can confirm, applied the same changes to my plugin and it did the job!

ramonvermeulen avatar Nov 12 '24 09:11 ramonvermeulen

Don't we need the jlumbroso/free-disk-space before the fetch step in the .github/workflows/release.yml workflow?

tsvetilian-ty avatar Nov 15 '24 09:11 tsvetilian-ty

Don't we need the jlumbroso/free-disk-space before the fetch step in the .github/workflows/release.yml workflow?

Probably yes, since that workflow ends up (re-)running the build task.

medmunds avatar Nov 15 '24 19:11 medmunds

Merged, thank you!

hsz avatar Jul 26 '25 08:07 hsz