mirror of
https://github.com/saymrwulf/onnxruntime.git
synced 2026-06-06 00:03:22 +00:00
### Description Since the onedevice training cpu packaging has been a separated pipeline, it's nuget package publishing step must be moved as well. ### Motivation and Context Fixes the exception in Nuget Publishing Packaging Pipeline caused by #21485
42 lines
1.1 KiB
YAML
42 lines
1.1 KiB
YAML
resources:
|
|
pipelines:
|
|
- pipeline: build
|
|
source: 'Zip-Nuget-Java-Nodejs Packaging Pipeline'
|
|
trigger:
|
|
branches:
|
|
include:
|
|
- main
|
|
- rel-*
|
|
branch: main
|
|
|
|
parameters:
|
|
- name: isReleaseBuild
|
|
type: boolean
|
|
default: false
|
|
|
|
variables:
|
|
- name: ArtifactFeed
|
|
${{ if eq(parameters.isReleaseBuild, false) }}:
|
|
value: ort-cuda-11-nightly
|
|
${{ else }}:
|
|
value: onnxruntime-cuda-11
|
|
|
|
stages:
|
|
- template: templates/publish-nuget-steps.yml
|
|
parameters:
|
|
stage_name: 'Publish_NuGet_Package_And_Report'
|
|
include_cpu_ep: true
|
|
download_artifacts_steps:
|
|
- download: build
|
|
displayName: 'Download Pipeline Artifact - Signed NuGet Package'
|
|
artifact: 'drop-signed-nuget-dml'
|
|
- script: move "$(Pipeline.Workspace)\build\drop-signed-nuget-dml\*" $(Build.BinariesDirectory)\nuget-artifact\final-package
|
|
|
|
# Publish CUDA 11 Nuget/Java pkgs to ADO feed
|
|
- template: stages/nuget-cuda-publishing-stage.yml
|
|
parameters:
|
|
artifact_feed: $(ArtifactFeed)
|
|
|
|
- template: stages/java-cuda-publishing-stage.yml
|
|
parameters:
|
|
artifact_feed: $(ArtifactFeed)
|