microsoft/onnxruntime-extensions

Public

mirrored fromhttps://github.com/microsoft/onnxruntime-extensionsAvailable

CodeCommitsIssuesPull requestsActionsInsightsSecurity
79a348d2e840b66c1e4caa6d86546bf22fa72b4d

Branches

Tags

  • No tags available.
0Branches0Tags
Go to file
Add file
Code

Clone

HTTPS

Download ZIP

.pipelines/templates/publish-nuget.yml

34lines · modepreview

parameters:
- name: PublishingNuget
  displayName: Publishing Nuget Packages
  type: boolean
  default: true
stages:
- stage: Publish_NuGet_Package_And_Report
  condition: and (succeeded(), eq(variables['Build.SourceBranch'], 'refs/heads/main'))
  jobs:
  - job:
    workspace:
      clean: all
    variables:
    - name: GDN_CODESIGN_TARGETDIRECTORY
      value: '$(Build.BinariesDirectory)/nuget-artifact/final-package'
    pool: 'Win-CPU-2021'

    steps:
    - checkout: self
      submodules: false
    - template: set-version-number-variables-step.yml

    - task: DownloadPipelineArtifact@0
      displayName: 'Download Pipeline Artifact - Signed NuGet Package'
      inputs:
        artifactName: 'drop-signed-nuget-CPU'
        targetPath: $(Build.BinariesDirectory)/nuget-artifact/final-package

    - template: component-governance-component-detection-steps.yml
      parameters :
        condition : 'succeeded'
    - task: mspremier.PostBuildCleanup.PostBuildCleanup-task.PostBuildCleanup@3
      displayName: 'Clean Agent Directories'
      condition: always()