Skip to content

Commit b5c47be

Browse files
feat!: add author and repository parameters
Add author input to action and repository arguments for package metadata. These parameters were added to UiPath CLI 25.10, if you are still using an older version of the CLI, you should pin this action to v1 BREAKING CHANGE: action now requires UiPath CLI 25.10.*
1 parent 407c4b9 commit b5c47be

1 file changed

Lines changed: 9 additions & 0 deletions

File tree

action.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,10 @@ inputs:
3737
description: 'Trace level for test execution logs. Possible values are Verbose, Information, Warning, Error. Default is Warning.'
3838
required: false
3939
default: "Warning"
40+
author:
41+
description: 'The package author. If not provided, the GitHub actor will be used as the author of the package'
42+
required: false
43+
default: "${{ github.actor }}"
4044
outputs:
4145
testExecutionLinks:
4246
description: 'Outputs a comma-separated list of Orchestrator links for viewing test results'
@@ -177,6 +181,11 @@ runs:
177181
--out uipath \
178182
--result_path "$testResultFilePath" \
179183
--language en-US \
184+
--repositoryUrl "${{ github.server_url }}/${{ github.repository }}" \
185+
--repositoryCommit "${{ github.sha }}" \
186+
--repositoryBranch "${{ github.head_ref || github.ref_name }}" \
187+
--repositoryType git \
188+
--author "${{ inputs.author }}"
180189
--traceLevel "${{ inputs.traceLevel }}" \
181190
${{ steps.set_additional_parameters.outputs.additionalParameters }}
182191

0 commit comments

Comments
 (0)