start_build
Initiate a build on Codemagic by providing required app and workflow IDs, plus optional branch, tag, environment, labels, or instance type. Returns the build ID.
Instructions
Start a new build on Codemagic.
Args: app_id: The application identifier workflow_id: The workflow identifier branch: The branch name (either branch or tag is required) tag: The tag name (either branch or tag is required) environment: Dictionary with environment variables, variable groups, and software versions labels: List of labels to include for the build instance_type: Type of instance to use for the build (e.g. 'mac_mini_m2')
Returns: Dictionary with the build ID
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| app_id | Yes | ||
| workflow_id | Yes | ||
| branch | No | ||
| tag | No | ||
| environment | No | ||
| labels | No | ||
| instance_type | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |