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"
|
2020-07-24 00:24:37 +03:00
|
|
|
displayName: 'Build and Package'
|
2020-07-23 22:27:53 +03:00
|
|
|
|
2020-07-23 23:55:19 +03:00
|
|
|
- task: PublishBuildArtifacts@1
|
|
|
|
inputs:
|
2020-07-24 00:36:12 +03:00
|
|
|
pathToPublish: '$(Build.SourcesDirectory)/artifacts/nuget'
|
2020-07-23 23:55:19 +03:00
|
|
|
artifactName: 'Nuget'
|
|
|
|
condition: succeeded()
|
2020-07-23 22:27:53 +03:00
|
|
|
|