Debian Codegraph @

tests/pipeline_scripts/powershell_windows_extensions.yml

raw
1 # --------------------------------------------------------------------------------------------
2 # Copyright (c) Microsoft Corporation. All rights reserved.
3 # Licensed under the MIT License. See License.txt in the project root for license information.
4 # --------------------------------------------------------------------------------------------
5 # Starter template for Azure functions build -- powershell on windows
6 trigger:
7 - master
8 pool:
9 vmImage: 'VS2017-Win2016'
10 steps:
11 - task: DotNetCoreCLI@2
12 displayName: '.NET Core build extensions'
13 inputs:
14 projects: extensions.csproj
15 arguments: '--runtime win10-x64 --output bin/'
16 - task: ArchiveFiles@2
17 displayName: 'Archive files'
18 inputs:
19 rootFolderOrFile: '$(System.DefaultWorkingDirectory)'
20 includeRootFolder: false
21 archiveFile: '$(System.DefaultWorkingDirectory)/build$(Build.BuildId).zip'
22 - task: PublishBuildArtifacts@1
23 inputs:
24 PathtoPublish: '$(System.DefaultWorkingDirectory)/build$(Build.BuildId).zip'
25 name: 'drop'