From 2cd8d4809e27dd750e71230befca8853d456d5be Mon Sep 17 00:00:00 2001 From: Dan Walmsley Date: Tue, 23 Oct 2018 13:22:09 +0100 Subject: [PATCH] set path to tools --- azure-pipelines.yml | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index fe996195ee..6936fcc9e1 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -10,7 +10,9 @@ jobs: sudo apt-get install castxml - task: CmdLine@2 inputs: - script: dotnet tool install -g Cake.Tool --version 0.30.0 + script: | + dotnet tool install -g Cake.Tool --version 0.30.0 + export PATH="$PATH:$HOME/.dotnet/tools" - script: | dotnet --info @@ -35,7 +37,9 @@ jobs: script: brew install castxml - task: CmdLine@2 inputs: - script: dotnet tool install -g Cake.Tool --version 0.30.0 + script: | + dotnet tool install -g Cake.Tool --version 0.30.0 + export PATH="$PATH:$HOME/.dotnet/tools" - script: | dotnet --info @@ -57,7 +61,9 @@ jobs: steps: - task: CmdLine@2 inputs: - script: dotnet tool install -g Cake.Tool --version 0.30.0 + script: | + dotnet tool install -g Cake.Tool --version 0.30.0 + set PATH=%PATH%;%USERPROFILE%\.dotnet\tools - task: CmdLine@2 inputs: script: dotnet cake build.cake -target="Azure-Windows" -configuration="Release"