From ee72ae417ed76151b5138a983ba53721ea69fd26 Mon Sep 17 00:00:00 2001 From: hallvictoria <59299039+hallvictoria@users.noreply.github.com> Date: Tue, 23 Jul 2024 13:28:20 -0500 Subject: [PATCH] fix: publish worker nuget package (#1543) * build artifacts nuget package * remove prerelease package step * changed target path --------- Co-authored-by: Victoria Hall --- eng/templates/official/jobs/build-artifacts.yml | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) diff --git a/eng/templates/official/jobs/build-artifacts.yml b/eng/templates/official/jobs/build-artifacts.yml index af537582..f3577788 100644 --- a/eng/templates/official/jobs/build-artifacts.yml +++ b/eng/templates/official/jobs/build-artifacts.yml @@ -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"