Merged PR 44441: publish on Nuget.org
3c9658b9
Decker, Christian
authored and
Christian Decker
committed
succeeded
1 changed file
azure-pipelines.yml
/azure-pipelines.yml-4+5
/azure-pipelines.yml
Add comment 1 trigger:
Add comment 2 Minus   branches:
Add comment 3 Minus   include:
Add comment 4 Minus   - main
Add comment 5 2 tags:
Add comment 6 3 include:
Add comment 7 4 - '*'
Add comment 54 51 displayName: Run Unit Tests
Add comment 55 52 inputs:
Add comment 56 53 command: 'test'
Add comment 57 Minus   arguments: '--configuration $(BuildConfiguration) --no-restore --no-build --filter TestCategory!=UserTestNoInteractionNeeded|TestCategory!=UserTestInteractionNeeded'
Add comment 54 Plus   arguments: '--configuration $(BuildConfiguration) --no-restore --no-build --filter TestCategory!=UserTestNoInteractionNeeded&TestCategory!=UserTestInteractionNeeded'
Add comment 55 Plus  
Add comment 56 Plus   - script: dotnet nuget push --source https://api.nuget.org/v3/index.json --api-key $(API_KEY) Client/HomagGroup.DigitalFactory.ApiGateway.Client/**/*.nupkg
Add comment 57 Plus   displayName: "Publish NuGet package on nuget.org"
Add comment 58 Plus   condition: and(succeeded(), startsWith(variables['Build.SourceBranch'], 'refs/tags/'), eq(variables['Build.Repository.Name'], 'homag-api-gateway-client'))
Add comment 58 59