Triggers & Recommended Flow - Avalin/Unity-CI-CD GitHub Wiki
๐ฆ Trigger Matrix
| Trigger | What It Runs |
|---|---|
pull_request |
๐งช Runs unit tests only (EditMode / PlayMode) for early validation |
push with v*.*.* tag |
๐งช + ๐ ๏ธ + ๐ฆ Full CI: tests, multi-platform builds, GitHub Release |
workflow_dispatch |
๐งช + ๐ ๏ธ Manual preview build (inputs used, no release) |
๐ฅ Recommended Workflow
-
๐ Open a Pull Request
Triggers unit tests to catch issues early. -
๐งช Tests Pass & PR Approved
Merge tomainor your release branch. -
๐ผ Create a Git Tag (e.g.,
v1.2.3)
Triggers full CI/CD: tests โ builds โ GitHub Release.
git tag v1.2.3
git push origin v1.2.3
๐ ๏ธ Curious how the dispatcher sets everything up?
See full explanation of inputs & workflow orchestration โ