Fixes Azure Pipelines for Windows (#171)
This commit is contained in:
parent
bde6d6a149
commit
ee06eb4407
1 changed files with 4 additions and 6 deletions
|
|
@ -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'
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue