Skip to content

Pipeline Behaviour

Astrid Avalin SΓΈrensen edited this page Feb 20, 2026 · 4 revisions

🧹 Build Environment Optimization

The pipeline can prepare GitHub runners before Unity builds to ensure sufficient disk space and improve build reliability. This is currently only adjustable within the config file found in .github/config/defaults.json.

Example:

"build": {
  "checkFreeDiskSpace": "custom",
  "checkFreeDiskSpaceCustomTargets": ["Android"]
}
Value Behaviour
always The build step will always check for free disk space before building
custom The build step will only check for free disk space on targets listed in checkFreeDiskSpaceCustomTargets
never The build step will never check for free disk space before building

Per default, checkFreeDiskSpace is set to always.

Clone this wiki locally