Skip to content

Commit

Permalink
Prevent building ZIP within pipeline publish step
Browse files Browse the repository at this point in the history
  • Loading branch information
topeterk committed Aug 26, 2022
1 parent 5622939 commit 7e314f4
Showing 1 changed file with 10 additions and 7 deletions.
17 changes: 10 additions & 7 deletions Source/azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -96,18 +96,21 @@ stages:
steps:

# https://docs.microsoft.com/en-us/azure/devops/pipelines/tasks/package/nuget-authenticate?view=azure-devops
- task: NuGetAuthenticate@1
- task: UseDotNet@2
displayName: Use .NET 6 SDK
inputs:
packageType: sdk
version: 6.x
## does not seem to be required as I do not use or own nuget packages that I want to reference from Azure Artefacts
# - task: NuGetAuthenticate@1
## does not seem to be required as the following build steps are using .net 6 already correctly
# - task: UseDotNet@2
# displayName: Use .NET 6 SDK
# inputs:
# packageType: sdk
# version: 6.x

- task: DotNetCoreCLI@2
inputs:
command: 'publish'
arguments: '--configuration $(buildConfiguration) --runtime $(RuntimeRID) --no-self-contained'
arguments: '--configuration $(buildConfiguration) --runtime $(RuntimeRID) --self-contained false'
publishWebProjects: false
zipAfterPublish: false
projects: '**/*.csproj'

- task: Bash@3
Expand Down

0 comments on commit 7e314f4

Please sign in to comment.