Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 0 additions & 3 deletions .pipelines/OneBranch.Official.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,9 +48,6 @@ extends:

stages:
- stage: build
pool:
type: windows

jobs:
- template: .pipelines/jobs/OneBranchBuild.yml@self
parameters:
Expand Down
2 changes: 0 additions & 2 deletions .pipelines/OneBranch.PullRequest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,6 @@ extends:
enabled: false
sbom:
enabled: true
prefast:
enabled: true

stages:
- stage: build
Expand Down
7 changes: 5 additions & 2 deletions .pipelines/jobs/OneBranchNuGet.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,10 @@ jobs:

variables:
ob_outputDirectory: '$(Build.SourcesDirectory)\out'
PackageVersion: ${{ parameters.BuildVersion }}
${{ if eq(parameters.OfficialBuild, true) }}:
PackageVersion: ${{ parameters.BuildVersion }}
${{ else }}:
PackageVersion: ${{ parameters.BuildVersion }}-unofficial

ob_sdl_prefast_enabled: true
ob_sdl_prefast_runDuring: 'Build'
Expand Down Expand Up @@ -72,4 +75,4 @@ jobs:
displayName: 'Publish NuGet package'
inputs:
command: 'custom'
arguments: 'push $(ob_outputDirectory)\packages\Microsoft.Windows.CppWinRT.$(PackageVersion).nupkg -NonInteractive -Source https://microsoft.pkgs.visualstudio.com/_packaging/CppWinRT/nuget/v3/index.json -ApiKey VSTS'
arguments: 'push $(ob_outputDirectory)\packages\Microsoft.Windows.CppWinRT.$(PackageVersion).nupkg -NonInteractive -Source https://microsoft.pkgs.visualstudio.com/_packaging/CppWinRT/nuget/v3/index.json -ApiKey VSTS'
Loading