Skip to main content

uip codedapp publish

uip codedapp publish uploads a packaged .nupkg to UiPath and registers the coded app. It reads packages from --uipath-dir (default ./.uipath); pass --name (and optionally --version) to publish non-interactively, otherwise the tool prompts. --type controls whether the package registers as a Web app or an Action.

Synopsis

uip codedapp publish [options]

Options

FlagDescription
-n, --name <name>Package name (non-interactive).
-v, --version <version>Package version (requires --name).
-t, --type <type>App type: Web or Action. Default: Web.
--uipath-dir <dir>Directory containing the packages to publish. Default: ./.uipath.
--base-url <url>UiPath base URL (auth override).
--org-id <id>Organization ID (auth override).
--tenant-id <id>Tenant ID (auth override).
--tenant-name <name>Tenant name (auth override).
--access-token <token>Access token (auth override).

Examples

# Non-interactive publish of a specific version
uip codedapp publish --name "MyApp" --version "1.0.0"

# Register as an Action app instead of a Web app
uip codedapp publish --name "MyApprovalAction" --type Action

# Publish from a non-default packages directory
uip codedapp publish --name "MyApp" --uipath-dir ./packages

Data shape (--output json)

{
"Code": "PublishCompleted",
"Data": { "message": "Package published successfully." }
}

See also