2020-07-23 23:55:19 +03:00
|
|
|
jobs:
|
|
|
|
- job: Windows
|
|
|
|
pool:
|
|
|
|
vmImage: 'windows-2019'
|
|
|
|
steps:
|
2020-07-24 00:16:50 +03:00
|
|
|
- task: PowerShell@2
|
2020-07-23 23:55:19 +03:00
|
|
|
inputs:
|
2020-07-24 00:23:45 +03:00
|
|
|
targetType: 'filePath'
|
|
|
|
filePath: $(System.DefaultWorkingDirectory)\build.ps1
|
|
|
|
arguments: > # Use this to avoid newline characters in multiline string
|
|
|
|
-Platform "AnyCPU"
|
|
|
|
-Configuration "Release"
|
|
|
|
displayName: 'Build and Package'
|
2020-07-23 22:27:53 +03:00
|
|
|
|
2020-07-23 23:55:19 +03:00
|
|
|
- task: PublishBuildArtifacts@1
|
|
|
|
inputs:
|
|
|
|
pathToPublish: '$(Build.SourcesDirectory)artifacts/nuget'
|
|
|
|
artifactName: 'Nuget'
|
|
|
|
condition: succeeded()
|
2020-07-23 22:27:53 +03:00
|
|
|
|