microsoft/onnxruntime-extensions
Publicmirrored fromhttps://github.com/microsoft/onnxruntime-extensionsAvailable
.pipelines/nuget.yml
39lines · modecode
| 1 | parameters: |
| 2 | - name: DoCompliance |
| 3 | displayName: Run Compliance Tasks? |
| 4 | type: boolean |
| 5 | default: true |
| 6 | |
| 7 | - name: DoEsrp |
| 8 | displayName: Run code sign tasks? Must be true if you are doing an OnnxRuntime extensions release. |
| 9 | type: boolean |
| 10 | default: true |
| 11 | |
| 12 | - name: IsReleaseBuild |
| 13 | displayName: Is this a release build? Set it to true if you are doing an OnnxRuntime extensions release. |
| 14 | type: boolean |
| 15 | default: false |
| 16 | |
| 17 | - name: NugetVersionSuffix |
| 18 | displayName: Update nuget version suffix (e.g. alpha/beta/rc, only if publishing to nuget.org, otherwise leave as "none"). |
| 19 | type: string |
| 20 | default: none |
| 21 | |
| 22 | trigger: |
| 23 | branches: |
| 24 | exclude: |
| 25 | - "*" |
| 26 | |
| 27 | pr: |
| 28 | branches: |
| 29 | include: |
| 30 | - "*" |
| 31 | |
| 32 | stages: |
| 33 | - template: templates/build-package-for-nuget.yml |
| 34 | parameters: |
| 35 | DoCompliance: ${{ parameters.DoCompliance }} |
| 36 | DoEsrp: ${{ parameters.DoEsrp }} |
| 37 | IsReleaseBuild: ${{ parameters.IsReleaseBuild }} |
| 38 | NugetVersionSuffix: ${{ parameters.NugetVersionSuffix }} |
| 39 | OrtNugetPackageId: 'Microsoft.ML.OnnxRuntime.Extensions' |
| 40 | |