mirror of
https://github.com/microsoft/vscode.git
synced 2026-05-08 09:08:48 +01:00
chore: add BinSkim for CLI (#231543)
This commit is contained in:
@@ -108,6 +108,22 @@ steps:
|
||||
${{ pair.key }}: ${{ pair.value }}
|
||||
|
||||
- ${{ if contains(parameters.VSCODE_CLI_TARGET, '-windows-') }}:
|
||||
- task: CopyFiles@2
|
||||
inputs:
|
||||
SourceFolder: $(Build.SourcesDirectory)/cli/target/${{ parameters.VSCODE_CLI_TARGET }}/release
|
||||
Contents: 'code.*'
|
||||
TargetFolder: $(Agent.TempDirectory)/binskim-cli
|
||||
displayName: Copy files for BinSkim
|
||||
|
||||
- task: BinSkim@4
|
||||
inputs:
|
||||
InputType: Basic
|
||||
Function: analyze
|
||||
TargetPattern: guardianGlob
|
||||
AnalyzeTargetGlob: $(Agent.TempDirectory)/binskim-cli/*.*
|
||||
AnalyzeSymPath: $(Agent.TempDirectory)/binskim-cli
|
||||
displayName: Run BinSkim
|
||||
|
||||
- powershell: |
|
||||
. build/azure-pipelines/win32/exec.ps1
|
||||
$ErrorActionPreference = "Stop"
|
||||
|
||||
Reference in New Issue
Block a user