Skip to content

Commit 5948bf7

Browse files
authored
Fixup syntax (#8062)
1 parent d6263ca commit 5948bf7

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

eng/pipelines/dotnet-monitor-publish.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,7 @@ extends:
163163
displayName: Push To NuGet Feed
164164
dependsOn: Validation
165165
variables:
166-
- group: .NET Core Nuget API Keys
166+
- group: '.NET Core Nuget API Keys'
167167
jobs:
168168
- job: Job_1
169169
displayName: Push To NuGet
@@ -174,11 +174,11 @@ extends:
174174
- download: dotnet-monitor_build
175175
artifact: StagingToolAssetsLayout
176176
- task: NuGetAuthenticate@0
177-
enabled: eq(parameters.DraftRelease, false)
177+
condition: and(succeeded(), ${{ eq(parameters.DraftRelease, false) }})
178178
displayName: Authenticate to AzDO Feeds
179179
- task: PowerShell@2
180180
displayName: Push To NuGet
181-
enabled: eq(parameters.DraftRelease, false)
181+
condition: and(succeeded(), ${{ eq(parameters.DraftRelease, false) }})
182182
inputs:
183183
filePath: $(DRP_RepoRoot)\eng\release\Scripts\PublishToNuget.ps1
184184
arguments: -ManifestPath $(DRP_OutputManifestPath) -StagingPath $(DRP_MonitorRelease) -FeedEndpoint $(DRP_NugetFeed) -FeedPat $(DotNetNugetApiKey-A4)

0 commit comments

Comments
 (0)