Skip to content

Commit 6a8c1a2

Browse files
authored
Use task instead of outputs for nuget publish (#3082)
1 parent a7dbc6f commit 6a8c1a2

File tree

1 file changed

+10
-8
lines changed

1 file changed

+10
-8
lines changed

eng/ci/host/official-release.yml

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -94,11 +94,13 @@ extends:
9494
artifactName: $(artifact_name)
9595
pipeline: build
9696

97-
outputs:
98-
- output: nuget
99-
packagesToPush: $(packages_pattern)
100-
packageParentPath: $(drop_path)
101-
publishVstsFeed: $(nuget_feed)
102-
nuGetFeedType: internal
103-
allowPackageConflicts: true
104-
publishPackageMetadata: true
97+
steps:
98+
- task: 1ES.PublishNuget@1
99+
displayName: Publish packages
100+
inputs:
101+
packagesToPush: $(packages_pattern)
102+
packageParentPath: $(drop_path)
103+
publishVstsFeed: $(nuget_feed)
104+
nuGetFeedType: internal
105+
allowPackageConflicts: true
106+
publishPackageMetadata: true

0 commit comments

Comments
 (0)