Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 9 additions & 10 deletions .github/workflows/uipath-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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 }}
Expand All @@ -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
Expand All @@ -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 }}
Expand All @@ -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
Expand Down
8 changes: 6 additions & 2 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down Expand Up @@ -89,10 +93,10 @@ 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"
--traceLevel "${{ inputs.traceLevel }}"

echo "::endgroup::"

Expand Down