Fixes Azure Pipelines for Windows (#171)

This commit is contained in:
Kamron Batman 2020-07-03 01:14:11 -07:00 committed by GitHub
parent bde6d6a149
commit ee06eb4407
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -14,27 +14,28 @@ jobs:
vmImage: 'windows-latest' vmImage: 'windows-latest'
steps: steps:
- task: NuGetToolInstaller@1
inputs:
versionSpec: '5.x'
displayName: 'Install latest NuGet'
- task: DotNetCoreCLI@2 - task: DotNetCoreCLI@2
inputs: inputs:
command: 'custom' command: 'custom'
custom: 'restore' custom: 'restore'
arguments: '--force-evaluate' arguments: '--force-evaluate'
displayName: 'Restore NuGet Packages' displayName: 'Restore NuGet Packages'
- task: DotNetCoreCLI@2 - task: DotNetCoreCLI@2
inputs: inputs:
command: 'build' command: 'build'
arguments: '-c $(buildConfiguration) --no-restore' arguments: '-c $(buildConfiguration) --no-restore'
projects: '**/Projects/Server/Server.csproj' projects: '**/Projects/Server/Server.csproj'
displayName: 'Build Server' displayName: 'Build Server'
- task: DotNetCoreCLI@2 - task: DotNetCoreCLI@2
inputs: inputs:
command: 'build' command: 'build'
arguments: '-c $(buildConfiguration) --no-restore' arguments: '-c $(buildConfiguration) --no-restore'
projects: '**/Projects/UOContent/UOContent.csproj' projects: '**/Projects/UOContent/UOContent.csproj'
displayName: 'Build UO Content' displayName: 'Build UO Content'
- task: DotNetCoreCLI@2 - task: DotNetCoreCLI@2
inputs: inputs:
command: 'test' command: 'test'
@ -65,21 +66,18 @@ jobs:
custom: 'restore' custom: 'restore'
arguments: '--force-evaluate' arguments: '--force-evaluate'
displayName: 'Restore NuGet Packages' displayName: 'Restore NuGet Packages'
- task: DotNetCoreCLI@2 - task: DotNetCoreCLI@2
inputs: inputs:
command: 'build' command: 'build'
arguments: '-c $(buildConfiguration) --no-restore' arguments: '-c $(buildConfiguration) --no-restore'
projects: '**/Projects/Server/Server.csproj' projects: '**/Projects/Server/Server.csproj'
displayName: 'Build Server' displayName: 'Build Server'
- task: DotNetCoreCLI@2 - task: DotNetCoreCLI@2
inputs: inputs:
command: 'build' command: 'build'
arguments: '-c $(buildConfiguration) --no-restore' arguments: '-c $(buildConfiguration) --no-restore'
projects: '**/Projects/UOContent/UOContent.csproj' projects: '**/Projects/UOContent/UOContent.csproj'
displayName: 'Build UO Content' displayName: 'Build UO Content'
- task: DotNetCoreCLI@2 - task: DotNetCoreCLI@2
inputs: inputs:
command: 'test' command: 'test'