Skip to content

Workflow Dispatches

Astrid Avalin Soerensen edited this page May 11, 2025 · 4 revisions

🚀 Running Workflows Manually

This page explains how to manually trigger Unity CI/CD workflows using:

  • GitHub UI (Actions tab)
  • GitHub CLI (gh workflow run)

📥 Required Inputs

Input Name Type Description
unityVersion string Unity version to use (e.g. 2022.3.10f1)
buildType string One of preview, release_candidate, release
buildTargets string JSON array (e.g., ["WebGL"])
deployTargets string JSON array (e.g., ["gh-pages"])

💻 Using GitHub UI

  1. Go to the Actions tab
  2. Choose the workflow (e.g., Build)
  3. Click Run workflow
  4. Fill in the inputs
  5. Click Run

🧪 Example CLI

gh workflow run build.yml \
  --field unityVersion="2022.3.10f1" \
  --field buildType="preview" \
  --field buildTargets='["WebGL"]'

Clone this wiki locally