1 changed file
azure-pipelines.yml | ||
Add comment 1 variables:
Add comment 2 Minus executeTests: false
Add comment 2 Plus - name: executeTests
Add comment 3 Plus value: false
Add comment 4 Plus - group: NuGet
Add comment 3 5
Add comment 4 6 name: $(Build.DefinitionName) $(Date:dd.MM.yy) Run $(Rev:r)
Add comment 5 7
Add comment 6 8 trigger:
Add comment 7 9 - main
Add comment 8 Minus - next
Add comment 9 10
Add comment 10 11 steps:
Add comment 12 Plus - task: Npm@1
Add comment 13 Plus displayName: Install NPM dependencies
Add comment 14 Plus inputs:
Add comment 15 Plus command: install
Add comment 16 Plus workingDir: $(Build.SourcesDirectory)/WPE.App.Services
Add comment 17 Plus - task: UseDotNet@2
Add comment 18 Plus displayName: Enable .NET 9
Add comment 19 Plus inputs:
Add comment 20 Plus version: 9.x
Add comment 11 21 - task: DotNetCoreCLI@2
Add comment 12 22 displayName: Build library
Add comment 13 23 inputs:
Add comment 21 31 displayName: Create package
Add comment 22 32 inputs:
Add comment 23 33 command: pack
Add comment 24 Minus packagesToPack: "**/*.csproj;!**/*Test*.csproj"
Add comment 34 Plus packagesToPack: "**/*Services.csproj;!**/*Test*.csproj"
Add comment 25 35 versioningScheme: off
Add comment 26 Minus - task: NuGetCommand@2
Add comment 27 Minus displayName: Push to NuGet
Add comment 36 Plus - task: DotNetCoreCLI@2
Add comment 37 Plus displayName: Publish to NuGet
Add comment 28 38 inputs:
Add comment 29 Minus command: push
Add comment 30 Minus nuGetFeedType: external
Add comment 31 Minus publishFeedCredentials: Public NuGet
Add comment 39 Plus command: 'custom'
Add comment 40 Plus custom: 'nuget'
Add comment 41 Plus arguments: 'push $(Build.ArtifactStagingDirectory)/*.nupkg --api-key $(ApiKey) --source https://api.nuget.org/v3/index.json'