uipath-cli
latest
false
- 概述
- 开始使用
- 概念
- Using UiPath CLI
- 操作指南
- CI/CD recipes
- 命令参考
- 概述
- 退出代码
- Global options
- uip codedagent
- uip docsai
- add-test-data-entity
- add-test-data-queue
- add-test-data-variation
- analyze
- build
- 创建项目
- diff
- find-activities
- get-analyzer-rules
- get-default-activity-xaml
- get-errors
- get-manual-test-cases
- get-manual-test-steps
- get-versions
- get-workflow-example
- indicate-application
- indicate-element
- inspect-package
- install-data-fabric-entities
- install-or-update-packages
- list-data-fabric-entities
- list-workflow-examples
- pack
- restore
- run-file
- search-templates
- start-studio
- stop-execution
- uia
- uip traces
- 迁移
- Reference & support
UiPath CLI user guide
上次更新日期 2026年5月7日
uip api-workflow build compiles an API Workflow project without packaging it. Use it as a fast type/syntax gate in CI or inner-loop iteration; reach for uip api-workflow pack when you also need a .nupkg.
Synopsis
uip api-workflow build <projectPath>
uip api-workflow build <projectPath>
<projectPath>— path to the API Workflow project directory or.uipfile.
选项
build takes no options beyond --help. Customize package metadata or signing through uip api-workflow pack instead.
示例
# Build a project — fail the step on any compile error
uip api-workflow build ./my-workflow
# Capture the JSON result for downstream pipeline steps
uip api-workflow build ./my-workflow --output json
# Build a project — fail the step on any compile error
uip api-workflow build ./my-workflow
# Capture the JSON result for downstream pipeline steps
uip api-workflow build ./my-workflow --output json
Data shape (--output json)
{
"Code": "ApiWorkflowBuild",
"Data": { "Success": true }
}
{
"Code": "ApiWorkflowBuild",
"Data": { "Success": true }
}
On a compile failure, the tool exits with code 1 and emits a Failure result with build diagnostics in Instructions.
When to use build vs pack
| Use case | 命令 |
|---|---|
| Validate a project compiles in CI before merging | uip api-workflow build |
Produce a .nupkg for upload | uip api-workflow pack |
| Execute the workflow locally for a smoke test | uip api-workflow run |
Related
- uip api-workflow pack — build and package into a
.nupkg. - uip api-workflow run — execute the workflow locally.