Skip to content

Commit

Permalink
fix: publish worker nuget package (#1543)
Browse files Browse the repository at this point in the history
* build artifacts nuget package

* remove prerelease package step

* changed target path

---------

Co-authored-by: Victoria Hall <victoria.hall@microsoft.com>
  • Loading branch information
hallvictoria and Victoria Hall authored Jul 23, 2024
1 parent bc0f40f commit ee72ae4
Showing 1 changed file with 3 additions and 8 deletions.
11 changes: 3 additions & 8 deletions eng/templates/official/jobs/build-artifacts.yml
Original file line number Diff line number Diff line change
Expand Up @@ -186,14 +186,9 @@ jobs:
templateContext:
outputParentDirectory: $(Build.ArtifactStagingDirectory)
outputs:
- output: nuget
condition: and(succeeded(), eq(variables['Build.SourceBranch'], 'refs/heads/dev'), eq(variables['UPLOADPACKAGETOPRERELEASEFEED'], true))
useDotNetTask: false
packagesToPush: '$(Build.ArtifactStagingDirectory)/**/*.nupkg;!$(Build.ArtifactStagingDirectory)/**/*.symbols.nupkg'
packageParentPath: "$(Build.ArtifactStagingDirectory)"
publishVstsFeed: "e6a70c92-4128-439f-8012-382fe78d6396/f37f760c-aebd-443e-9714-ce725cd427df"
nuGetFeedType: "internal"
allowPackageConflicts: true
- output: pipelineArtifact
targetPath: $(Build.ArtifactStagingDirectory)
artifactName: "PythonWorker"
steps:
- bash: |
echo "Releasing from $BUILD_SOURCEBRANCHNAME"
Expand Down

0 comments on commit ee72ae4

Please sign in to comment.