Skip to content

Repository Variables

Astrid Avalin SΓΈrensen edited this page Jul 16, 2025 · 5 revisions

βš™οΈ Repository Variables

They can be found under:

Settings β†’ Secrets and variables β†’ Actions β†’ Variables

Variable Name Recommended Description
DEPLOY_TARGETS βœ… Deployment targets (JSON array, example below)
BUILD_TARGETS ❌ Target build platforms (JSON array, example below)
PROJECT_NAME βœ… Name of the Unity project
EXCLUDE_UNITY_TESTS βœ… Exclude tests from pipeline (true/false)
FORCE_COMBINE_ARTIFACTS ❌ Combine all builds into one artifact (e.g. for internal QA or archiving)
RETENTION_DAYS_PREVIEW ❌ Days to retain preview builds (default is 7)
RETENTION_DAYS_RC ❌ Days to retain release candidate builds (default is 14)
RETENTION_DAYS_RELEASE ❌ Days to retain release builds (default is 30)
TIMEOUT_TESTS_IN_MINUTES ❌ Test timeout per job in minutes (default is 15)
TIMEOUT_BUILD_IN_MINUTES ❌ Build timeout per job in minutes (default is 30)
UNITY_TESTS_EDITMODE_PATH ❌ Path to EditMode tests (default is Assets/Tests/Editor)
UNITY_TESTS_PLAYMODE_PATH ❌ Path to PlayMode tests (default is Assets/Tests/PlayMode)
UNITY_VERSION βœ… Unity version (e.g. auto or 2022.3.13f1)
USE_GIT_LFS ❌ Use Git LFS (true/false)
MAIN_RUNNER ❌ Runner used for all jobs that don’t require macOS.
MACOS_RUNNER ❌ Runner used for all jobs that specifically require macOS

Repository JSON Variable Examples

Variable Name Full JSON strings
DEPLOY_TARGETS ["itch.io", "appcenter", "firebase", "s3", "gh-pages", "steam", "testflight", "custom-server"]
BUILD_TARGETS ["Android", "WebGL", "StandaloneLinux64-Client", "StandaloneLinux64-Server", "StandaloneWindows", "StandaloneWindows64", "StandaloneOSX", "iOS"]

Clone this wiki locally