mirror of
https://github.com/Microsoft/calculator.git
synced 2025-08-21 05:43:10 -07:00
add back the nuget security analysis for OSSBuild
This commit is contained in:
parent
5922880e1b
commit
74480216b0
2 changed files with 9 additions and 0 deletions
|
@ -40,21 +40,25 @@ extends:
|
|||
- template: /build/pipelines/templates/build-single-architecture.yaml@self
|
||||
parameters:
|
||||
platform: x64
|
||||
isOSSBuild: true
|
||||
|
||||
- template: /build/pipelines/templates/build-single-architecture.yaml@self
|
||||
parameters:
|
||||
platform: x86
|
||||
condition: not(eq(variables['Build.Reason'], 'PullRequest'))
|
||||
isOSSBuild: true
|
||||
|
||||
- template: /build/pipelines/templates/build-single-architecture.yaml@self
|
||||
parameters:
|
||||
platform: ARM
|
||||
condition: not(eq(variables['Build.Reason'], 'PullRequest'))
|
||||
isOSSBuild: true
|
||||
|
||||
- template: /build/pipelines/templates/build-single-architecture.yaml@self
|
||||
parameters:
|
||||
platform: ARM64
|
||||
condition: not(eq(variables['Build.Reason'], 'PullRequest'))
|
||||
isOSSBuild: true
|
||||
|
||||
- template: /build/pipelines/templates/run-ui-tests.yaml@self
|
||||
parameters:
|
||||
|
|
|
@ -2,6 +2,7 @@
|
|||
|
||||
parameters:
|
||||
isReleaseBuild: false
|
||||
isOSSBuild: false
|
||||
useReleaseAppxManifest: false
|
||||
platform: ''
|
||||
condition: ''
|
||||
|
@ -42,6 +43,10 @@ jobs:
|
|||
- checkout: self
|
||||
fetchDepth: 1
|
||||
|
||||
- ${{ if eq(parameters.isOSSBuild, true) }}:
|
||||
- task: nuget-security-analysis@0
|
||||
displayName: Secure Supply Chain Analysis
|
||||
|
||||
- ${{ if eq(parameters.isReleaseBuild, true) }}:
|
||||
- task: UniversalPackages@0
|
||||
displayName: Download internals package
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue