-
Notifications
You must be signed in to change notification settings - Fork 1
Repository Variables
Astrid Avalin Soerensen edited this page May 11, 2025
·
2 revisions
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 ) |
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"] |
Let’s build better Unity pipelines together! 🚀
Need help? Join the Discussions or open an Issue.