Skip to content

Commit f115819

Browse files
committed
Fix template steps
1 parent aee2355 commit f115819

File tree

1 file changed

+17
-24
lines changed

1 file changed

+17
-24
lines changed

eng/pipelines/templates/jobs/workload-publish.yml

+17-24
Original file line numberDiff line numberDiff line change
@@ -8,27 +8,20 @@ parameters:
88
type: string
99
default: public/dotnet10-workloads
1010

11-
jobs:
12-
- template: /eng/common/templates-official/jobs/jobs.yml
13-
parameters:
14-
jobs:
15-
- job: publishToFeed
16-
displayName: Publish to Feed
17-
displayName: Print Parameters
18-
steps:
19-
- script: |
20-
echo "publishToFeed: $(publishToFeed)"
21-
echo "feedForPublishing: $(feedForPublishing)"
22-
echo "Build.SourcesDirectory: $(Build.SourcesDirectory)"
23-
displayName: Print Parameters
24-
# - task: 1ES.PublishNuget@1
25-
# displayName: 🟣 Publish NuGet package
26-
# condition: eq(parameters.publishToFeed, true)
27-
# inputs:
28-
# useDotNetTask: true
29-
# packagesToPush: $(Build.SourcesDirectory)/artifacts/packages/**/*.nupkg
30-
# packageParentPath: $(Build.SourcesDirectory)/artifacts/packages
31-
# publishVstsFeed: ${{ parameters.feedForPublishing }}
32-
# nuGetFeedType: internal
33-
# allowPackageConflicts: false
34-
# publishPackageMetadata: true
11+
steps:
12+
- script: |
13+
echo "publishToFeed: $(publishToFeed)"
14+
echo "feedForPublishing: $(feedForPublishing)"
15+
echo "Build.SourcesDirectory: $(Build.SourcesDirectory)"
16+
displayName: Print Parameters
17+
# - task: 1ES.PublishNuget@1
18+
# displayName: 🟣 Publish NuGet package
19+
# condition: eq(parameters.publishToFeed, true)
20+
# inputs:
21+
# useDotNetTask: true
22+
# packagesToPush: $(Build.SourcesDirectory)/artifacts/packages/**/*.nupkg
23+
# packageParentPath: $(Build.SourcesDirectory)/artifacts/packages
24+
# publishVstsFeed: ${{ parameters.feedForPublishing }}
25+
# nuGetFeedType: internal
26+
# allowPackageConflicts: false
27+
# publishPackageMetadata: true

0 commit comments

Comments
 (0)