Skip to content

Commit e48ffd2

Browse files
Merge pull request #31 from Mikael-RnD/feature/author-input
feat!: add author input to set package author
2 parents 323aded + 2b12db8 commit e48ffd2

2 files changed

Lines changed: 10 additions & 3 deletions

File tree

README.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,12 +61,14 @@ The scenario illustrated below shows how one can work with providing specific pr
6161
|**orchestratorTenant**|Name of the Orchestrator tenant|True||
6262
|**orchestratorLogicalName**|Id of the UiPath organization|True||
6363
|**orchestratorFolder**|The fully qualified name of the Orchestrator folder where processes are deployed to|True||
64-
|**orchestratorApplicationId**|Application ID for the CLI to authenticate with UiPath Orchestrator|True|||
65-
|**orchestratorApplicationSecret**|Application Secret for the CLI to authenticate with UiPath Orchestrator|True|||
64+
|**orchestratorApplicationId**|Application ID for the CLI to authenticate with UiPath Orchestrator|True||
65+
|**orchestratorApplicationSecret**|Application Secret for the CLI to authenticate with UiPath Orchestrator|True||
6666
|**orchestratorApplicationScope**|External application scope|False|"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"|
6767
|**projectVersion**|A valid semver tag version number (without the leading 'v') to set the version of the packages|True||
6868
|**releaseNotes**|Release notes to be added in the generated .nupkg files|False||
6969
|**projectUrl**|Project URL for the generated package. Usually associated with the Automation Hub project. If not provided, the repository URL will be used|||
70+
|**traceLevel**|Trace level for the packing process. Possible values: Verbose, Information, Warning, Error|Information||
71+
|**author**|The package author. If not provided, the GitHub actor will be used.|github.actor||
7072
7173
## Outputs
7274

action.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,10 @@ inputs:
4040
description: 'Trace level for the packing process. Possible values: Verbose, Information, Warning, Error'
4141
default: "Information"
4242
required: false
43+
author:
44+
description: 'The package author. If not provided, the GitHub actor will be used as the author of the package'
45+
required: false
46+
default: "${{ github.actor }}"
4347
outputs:
4448
packagesPath:
4549
description: 'Folder containing the generated packages'
@@ -96,7 +100,8 @@ runs:
96100
--repositoryBranch "${{ github.head_ref || github.ref_name }}" \
97101
--repositoryType git \
98102
--projectUrl "${{ steps.set-urls.outputs.projectUrl }}" \
99-
--traceLevel "${{ inputs.traceLevel }}"
103+
--traceLevel "${{ inputs.traceLevel }}" \
104+
--author "${{ inputs.author }}"
100105
101106
echo "::endgroup::"
102107

0 commit comments

Comments
 (0)