Skip to content

Commit

Permalink
add checkout and install nuget
Browse files Browse the repository at this point in the history
  • Loading branch information
RehanSaeed committed Sep 28, 2019
1 parent f5a4c96 commit fd15a81
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -74,15 +74,19 @@ stages:
runOnce:
deploy:
steps:
- checkout: self
lfs: true
- task: UseDotNet@2
displayName: 'Install .NET Core SDK'
inputs:
packageType: 'sdk'
version: '3.0.100'
- task: NuGetToolInstaller@1
displayName: 'Install NuGet'
- task: NuGetAuthenticate@0
- script: 'dotnet tool install --global Cake.Tool --version 0.35.0-alpha0037 --add-source https://pkgs.dev.azure.com/cake-build/Cake/_packaging/cake/nuget/v3/index.json'
displayName: 'Install Cake Tool'
failOnStderr: true
- task: NuGetAuthenticate@0
- script: 'dotnet cake $(Agent.BuildDirectory)/WindowsCakeScript/build.cake --target=PushAzureArtefacts --AzureArtefactsOrganization=RehanSaeed'
displayName: 'Dotnet Cake PushAzureArtefacts'
failOnStderr: true
Expand All @@ -94,11 +98,15 @@ stages:
runOnce:
deploy:
steps:
- checkout: self
lfs: true
- task: UseDotNet@2
displayName: 'Install .NET Core SDK'
inputs:
packageType: 'sdk'
version: '3.0.100'
- task: NuGetToolInstaller@1
displayName: 'Install NuGet'
- script: 'dotnet tool install --global Cake.Tool --version 0.35.0-alpha0037 --add-source https://pkgs.dev.azure.com/cake-build/Cake/_packaging/cake/nuget/v3/index.json'
displayName: 'Install Cake Tool'
failOnStderr: true
Expand All @@ -114,11 +122,15 @@ stages:
runOnce:
deploy:
steps:
- checkout: self
lfs: true
- task: UseDotNet@2
displayName: 'Install .NET Core SDK'
inputs:
packageType: 'sdk'
version: '3.0.100'
- task: NuGetToolInstaller@1
displayName: 'Install NuGet'
- script: 'dotnet tool install --global Cake.Tool --version 0.35.0-alpha0037 --add-source https://pkgs.dev.azure.com/cake-build/Cake/_packaging/cake/nuget/v3/index.json'
displayName: 'Install Cake Tool'
failOnStderr: true
Expand Down

0 comments on commit fd15a81

Please sign in to comment.