# -------------------------------------------------------------------------------------------- # Copyright (c) Microsoft Corporation. All rights reserved. # Licensed under the MIT License. See License.txt in the project root for license information. # -------------------------------------------------------------------------------------------- # Starter template for Azure functions build -- powershell on windows trigger: - master pool: vmImage: 'VS2017-Win2016' steps: - task: DotNetCoreCLI@2 displayName: '.NET Core build extensions' inputs: projects: extensions.csproj arguments: '--runtime win10-x64 --output bin/' - task: ArchiveFiles@2 displayName: 'Archive files' inputs: rootFolderOrFile: '$(System.DefaultWorkingDirectory)' includeRootFolder: false archiveFile: '$(System.DefaultWorkingDirectory)/build$(Build.BuildId).zip' - task: PublishBuildArtifacts@1 inputs: PathtoPublish: '$(System.DefaultWorkingDirectory)/build$(Build.BuildId).zip' name: 'drop'