Do we have any sample .yml file that can initiate the BOT runner on ubuntu_latest and then connect to orchestrator and push the file package for using GitHub Actions?
Did any of you find any solution to this? I would be very interested in setting up something like this too.
I believe the UiPath CLI could be of use in this case:
Though I have not found much documentation for the CLI or managed to get my Github Action Runners to setup the UiPath CLI automatically. So far I have just been able to successfully run an autoversioning pack command with the CLI, noted in this topic:
Using the CLI, many required functions are available:
app Install or uninstall UiPath Studio or Orchestrator unattended.
asset Manage Orchestrator assets.
job Run jobs on Orchestrator.
machine Manage Orchestrator machines.
package Analyze, build, deploy or delete packages.
process Manage Orchestrator processes.
robot Manage Orchestrator robots.
run Run the tool using arguments specified in a JSON file.
test Run tests on Orchestrator.
help Display more information on a specific command.
version Display version information.
For others that are not available there (the steps required to create test set, for example) can be accomplished via API calls to the orchestrator (Typically I’ll reach for Powershell in these cases)
I got inspired by your sample and built a few actions. So far I have functioning actions for setting up the CLI and analyzing/packing. So far no luck on the deploy action and I’m also missing implementation of authorization towards Orchestrator for the analyze/pack actions.
Just thought I’d make a quick update on those repositories, I’ve continued the project mentioned in my previous post here:
GitHub Actions for setting up the UiPath CLI, validating UiPath projects within a repository and packing to .nupkg packages along with deploying to Orchestrator should now be functional for setups where basic authentication towards the Orchestrator is applicable.