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

  1. ๐Ÿ”€ Open a Pull Request
    Triggers unit tests to catch issues early.

  2. ๐Ÿงช Tests Pass & PR Approved
    Merge to main or your release branch.

  3. ๐ŸŽผ 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 โ†’