Skip to content
Merged
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
14 changes: 11 additions & 3 deletions pipelines/azure-pipelines.release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,13 @@ extends:
parameters:
globalSdl:
tsa:
enabled: false
enabled: true
configFile: $(Build.SourcesDirectory)\.config\tsaoptions.json
onboard: false
onboard: true
armory:
enabled: false
Comment thread
AmelBawa-msft marked this conversation as resolved.
evidence:
enabled: false

featureFlags:
WindowsHostVersion:
Expand Down Expand Up @@ -141,6 +145,7 @@ extends:
# Copies binary dependencies from VCLibs package to be included in standalone exe
- task: PowerShell@2
displayName: Download VCLibs package
retryCountOnTaskFailure: 3
inputs:
targetType: 'inline'
script: |
Expand All @@ -166,13 +171,16 @@ extends:
workingDirectory: $(Build.SourcesDirectory)
performMultiLevelLookup: true

- task: NuGetAuthenticate@1

- task: DotNetCoreCLI@2
displayName: Restore
inputs:
command: restore
feedsToUse: config
nugetConfigPath: "nuget.config"
projects: $(workingDirectory)/**/*.csproj
arguments: --runtime win-x64

- task: DotNetCoreCLI@2
displayName: Build standalone, framework-dependent exe
Expand All @@ -181,7 +189,7 @@ extends:
publishWebProjects: false
zipAfterPublish: false
projects: $(workingDirectory)/**/WingetCreateCLI.csproj
arguments: "--configuration Release --runtime=win-x64 --output $(exeDirFrameworkDependent) -p:DebugType=None -p:PublishSingleFile=true -p:IncludeNativeLibrariesForSelfExtract=true --self-contained=false"
arguments: "--configuration Release --runtime=win-x64 --no-restore --output $(exeDirFrameworkDependent) -p:DebugType=None -p:PublishSingleFile=true -p:IncludeNativeLibrariesForSelfExtract=true --self-contained=false"

- task: MSBuild@1
displayName: Build Solution
Expand Down