Skip to content
This repository has been archived by the owner on Jul 11, 2021. It is now read-only.

Commit

Permalink
Update azure-pipelines.yml for Azure Pipelines
Browse files Browse the repository at this point in the history
  • Loading branch information
ayiemba committed Apr 25, 2020
1 parent f9d7113 commit cc24880
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,14 +34,15 @@ steps:
displayName: Set Version
condition: and(succeeded(), eq(variables['system.pullrequest.isfork'], false))

- task: NuGetToolInstaller@0
displayName: Use NuGet 4.7.0
- task: NuGetToolInstaller@1
inputs:
versionSpec: 4.7.0
versionSpec: $(nugetVersion)
checkLatest: true


- task: NuGetCommand@2
inputs:
command: restore
restoreSolution: '$(solution)'
displayName: Nuget Restore

Expand All @@ -61,7 +62,7 @@ steps:
inputs:
command: pack
arguments: -c $(BuildConfiguration)
packagesToPack: '**/*.csproj'
packagesToPack: '**/MpesaLib.csproj'
versioningScheme: byBuildNumber
packDirectory: '$(Build.ArtifactStagingDirectory)\Packages'
displayName: Dotnet Pack
Expand Down

0 comments on commit cc24880

Please sign in to comment.