Closed ncook-hxgn closed 2 years ago
You can add a condition with a variable isitinstalled and you can check it on your own and then the the variable to false or true.
In my pipeline I add a Parameter to run the installation once on a manual build, and set the default value to false, so it would just try to install it if I mannually force it.
To be fair I should close this.
I cloned the repo to my kit, did a dotnet new tool-manifest
or something, and that created a json manifest. I committed this file. I then did a dotnet tool install
in the pipeline, omitting the --global
option, and got the tool installed.
The docs are still not clear about this aspect though. Crash course in dotnet
for me, but it works.
I added a step to my build definition to install the sign tool, as instructed by WALKTHROUGH.md
My Build failed.
I got this error:
How can I use the azure sign tool whilst ensuring that the azure sign tool is already installed without having the installation of azure sign tool fail my build?