This commit is contained in:
Rui Marinho 2022-04-12 17:17:11 +01:00
Родитель e229e0dc93
Коммит 913c35f633
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 87D2837A9AEED71E
1 изменённых файлов: 23 добавлений и 23 удалений

Просмотреть файл

@ -242,27 +242,27 @@ stages:
displayName: add build to default darc channel
condition: and(succeeded(), eq(variables['PushPackageInfoToMaestro'], 'true'))
- stage: sbom
displayName: 'Software Bill of Materials'
dependsOn: [ 'windows', 'nuget_signing' ]
condition: succeeded('windows')
jobs:
- template: compliance/sbom/job.v1.yml@xamarin-templates
parameters:
jobName: SBOM_PR
jobDisplayName: 'Software Bill of Materials (PR)'
artifactNames: ['nuget']
artifactMap: ['nuget/Release']
packageName: 'Microsoft Maui Graphics'
packageFilter: '*.nupkg'
condition: not(${{ variables['signingCondition'] }}) # Executed when signing is not enabled such as for pull request builds (PRs)
# - stage: sbom
# displayName: 'Software Bill of Materials'
# dependsOn: [ 'windows', 'nuget_signing' ]
# condition: succeeded('windows')
# jobs:
# - template: compliance/sbom/job.v1.yml@xamarin-templates
# parameters:
# jobName: SBOM_PR
# jobDisplayName: 'Software Bill of Materials (PR)'
# artifactNames: ['nuget']
# artifactMap: ['nuget/Release']
# packageName: 'Microsoft Maui Graphics'
# packageFilter: '*.nupkg'
# condition: not(${{ variables['signingCondition'] }}) # Executed when signing is not enabled such as for pull request builds (PRs)
- template: compliance/sbom/job.v1.yml@xamarin-templates
parameters:
jobName: SBOM_CI
jobDisplayName: 'Software Bill of Materials (CI)'
artifactNames: ['nuget']
artifactMap: ['nuget/signed']
packageName: 'Microsoft Maui Graphics'
packageFilter: '*.nupkg'
condition: and(succeeded(), ${{ variables['signingCondition'] }} ) # Executed when signing is enabled such as for continuous integration builds (CIs)
# - template: compliance/sbom/job.v1.yml@xamarin-templates
# parameters:
# jobName: SBOM_CI
# jobDisplayName: 'Software Bill of Materials (CI)'
# artifactNames: ['nuget']
# artifactMap: ['nuget/signed']
# packageName: 'Microsoft Maui Graphics'
# packageFilter: '*.nupkg'
# condition: and(succeeded(), ${{ variables['signingCondition'] }} ) # Executed when signing is enabled such as for continuous integration builds (CIs)