From 2590d1979b994c67da132bbff88870d97f5968cb Mon Sep 17 00:00:00 2001 From: Ethan Ann <110260004+ethanann-ms@users.noreply.github.com> Date: Wed, 28 Aug 2024 15:54:25 -0400 Subject: [PATCH] update yml --- vsts/node-nightly-windows.yaml | 22 ++++++++++------------ 1 file changed, 10 insertions(+), 12 deletions(-) diff --git a/vsts/node-nightly-windows.yaml b/vsts/node-nightly-windows.yaml index 2d57433..92fa2bb 100644 --- a/vsts/node-nightly-windows.yaml +++ b/vsts/node-nightly-windows.yaml @@ -51,17 +51,16 @@ extends: IOTHUB_CONNECTION_STRING: $(IOTHUB-CONNECTION-STRING) - stage: Package + displayName: 'Package for Release' dependsOn: ['Test'] - pool: - type: windows - variables: - ob_outputDirectory: '$(Build.SourcesDirectory)\out' - jobs: - job: packageWindows displayName: 'Package for Release' + pool: + type: windows + variables: + ob_outputDirectory: '$(Build.SourcesDirectory)\out' steps: - # Run SBOM on source - task: AzureArtifacts.manifest-generator-task.manifest-generator-task.ManifestGeneratorTask@0 displayName: 'Generate software manifest for executable' @@ -108,19 +107,18 @@ extends: artifactName: azure-iot-hub-node - stage: Release + displayName: 'Publish Release' condition: ${{ parameters.release }} dependsOn: ['Package'] - pool: - type: windows - variables: - ob_outputDirectory: '$(Build.SourcesDirectory)\out' - jobs: # Publish artifact to partner SDK storage - job: 'publish' displayName: 'Publish to SDK partner storage' + pool: + type: windows + variables: + ob_outputDirectory: '$(Build.SourcesDirectory)\out' steps: - # Download artifact - task: DownloadBuildArtifacts@0 displayName : 'Download npm package from Build Artifacts'