From 15aae8ee6f90d0ab49cba6a29e9b67a2137d9731 Mon Sep 17 00:00:00 2001 From: Mikael Andersson Date: Fri, 13 Feb 2026 10:35:09 +0100 Subject: [PATCH 1/3] fix: get actual branch name on pull request Change expression for getting branch name to get the actual branch name when running on pull requests by retrieving head_ref as the main option and falling back to ref_name if that does not exist --- action.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/action.yml b/action.yml index 0a4e319..53aaf18 100644 --- a/action.yml +++ b/action.yml @@ -89,7 +89,7 @@ runs: -l en-US \ --repositoryUrl "${{ steps.set-urls.outputs.repoUrl }}" \ --repositoryCommit "${{ github.sha }}" \ - --repositoryBranch "${{ github.ref_name }}" \ + --repositoryBranch "${{ github.head_ref || github.ref_name }}" \ --repositoryType git \ --projectUrl "${{ steps.set-urls.outputs.projectUrl }}" \ --traceLevel "Warning" From a1a5e7440e36476dd620d6398e201bc5848c8f02 Mon Sep 17 00:00:00 2001 From: Mikael Andersson Date: Fri, 13 Feb 2026 10:41:52 +0100 Subject: [PATCH 2/3] feat: add traceLevel input Add traceLevel input to enable optional configuration. Set Information as default --- action.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/action.yml b/action.yml index 53aaf18..be0cdfd 100644 --- a/action.yml +++ b/action.yml @@ -36,6 +36,10 @@ inputs: projectUrl: description: 'Project URL for the generated package. Usually associated with the Automation Hub project. If not provided, the repository URL will be used' required: false + traceLevel: + description: 'Trace level for the packing process. Possible values: Verbose, Information, Warning, Error' + default: "Information" + required: false outputs: packagesPath: description: 'Folder containing the generated packages' @@ -92,7 +96,7 @@ runs: --repositoryBranch "${{ github.head_ref || github.ref_name }}" \ --repositoryType git \ --projectUrl "${{ steps.set-urls.outputs.projectUrl }}" \ - --traceLevel "Warning" + --traceLevel "${{ inputs.traceLevel }}" echo "::endgroup::" From fe692ec526175d05c7545161f0e5e0f995a7c159 Mon Sep 17 00:00:00 2001 From: Mikael Andersson Date: Fri, 13 Feb 2026 10:42:20 +0100 Subject: [PATCH 3/3] ci: install uipath cli as dotnet tool Use latest UiPath CLI and install according to new .NET tool standard --- .github/workflows/uipath-ci.yml | 19 +++++++++---------- 1 file changed, 9 insertions(+), 10 deletions(-) diff --git a/.github/workflows/uipath-ci.yml b/.github/workflows/uipath-ci.yml index 09c44d7..597f699 100644 --- a/.github/workflows/uipath-ci.yml +++ b/.github/workflows/uipath-ci.yml @@ -25,10 +25,10 @@ jobs: runs-on: windows-latest steps: # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it - - uses: actions/checkout@v4 + - uses: actions/checkout@v6 # The UiPath CLI is installed on Runner - - uses: Mikael-RnD/setup-uipath@v2 + - run: dotnet tool install UiPath.CLI.Windows --global # Run workflow analysis on and pack UiPath projects - id: pack @@ -45,7 +45,7 @@ jobs: releaseNotes: 'Initial release' # Upload packages as build artifacts to be handled by deploy job - - uses: actions/upload-artifact@v4 + - uses: actions/upload-artifact@v6 with: name: pack-artifact path: ${{ steps.pack.outputs.packagesPath }} @@ -56,10 +56,10 @@ jobs: runs-on: windows-latest steps: # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it - - uses: actions/checkout@v4 + - uses: actions/checkout@v6 # The UiPath CLI is installed on Runner - - uses: Mikael-RnD/setup-uipath@v2 + - run: dotnet tool install UiPath.CLI.Windows --global # Run workflow analysis on and pack UiPath projects - id: pack @@ -79,7 +79,7 @@ jobs: releaseNotes: 'Initial release with file input' # Upload packages as build artifacts to be handled by deploy job - - uses: actions/upload-artifact@v4 + - uses: actions/upload-artifact@v6 with: name: pack-with-file-input path: ${{ steps.pack.outputs.packagesPath }} @@ -90,13 +90,12 @@ jobs: runs-on: ubuntu-latest steps: # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it - - uses: actions/checkout@v4 + - uses: actions/checkout@v6 - - name: uipath-setup - uses: Mikael-RnD/setup-uipath@v2 + - run: dotnet tool install UiPath.CLI.Linux --global - name: setup-dotnet - uses: actions/setup-dotnet@v4 + uses: actions/setup-dotnet@v5 with: dotnet-version: | 8.0.x