-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathaction.yml
More file actions
52 lines (49 loc) · 2.02 KB
/
action.yml
File metadata and controls
52 lines (49 loc) · 2.02 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
name: 'UiPath Deploy'
description: 'Deploys .nupkg packages in the Github workspace directory to UiPath Orchestrator'
inputs:
packagesPath:
description: 'Relative path to a folder containing the .nupkg to be deployed'
required: false
default: ${{ github.workspace }}
orchestratorUrl:
description: 'Orchestrator instance URL'
required: false
default: 'https://cloud.uipath.com/'
orchestratorTenant:
description: 'Tenant on the Orchestrator instance'
required: true
orchestratorFolder:
description: 'Folder path in modern folder setup'
required: true
orchestratorApplicationId:
description: 'Account for authenticating to Orchestrator'
required: true
orchestratorApplicationSecret:
description: 'Password for the Orchestrator account'
required: true
orchestratorApplicationScope:
description: 'Access scope for external application'
required: false
default: "OR.Assets OR.BackgroundTasks OR.Execution OR.Folders OR.Jobs OR.Machines.Read OR.Monitoring OR.Robots.Read OR.Settings.Read OR.TestSets OR.TestSetExecutions OR.TestSetSchedules OR.Users.Read"
orchestratorLogicalName:
description: 'Logical name for Orchestrator organization'
required: true
traceLevel:
description: 'Level of details for logs. Possible values are: Verbose, Information, Warning, Error'
required: false
default: 'Warning'
runs:
using: "composite"
steps:
- name: UiPath Deploy
shell: bash
run: |
uipcli package deploy "${{ inputs.packagesPath }}" \
"${{ inputs.orchestratorUrl }}" \
"${{ inputs.orchestratorTenant }}" \
--accountForApp "${{ inputs.orchestratorLogicalName }}" \
--applicationId "${{ inputs.orchestratorApplicationId }}" \
--applicationSecret "${{ inputs.orchestratorApplicationSecret }}" \
--applicationScope "${{ inputs.orchestratorApplicationScope }}" \
--organizationUnit "${{ inputs.orchestratorFolder }}" \
--traceLevel "${{ inputs.traceLevel }}"