зеркало из https://github.com/mono/SkiaSharp.git
Reduce checkout size of submodules (#2739)
This commit is contained in:
Родитель
04ff977ac0
Коммит
54e8a3f3d5
|
@ -19,7 +19,7 @@ void InitializeAngle(string branch, DirectoryPath ANGLE_PATH, DirectoryPath WINA
|
|||
continue;
|
||||
|
||||
RunProcess("git", new ProcessSettings {
|
||||
Arguments = $"submodule update --init --recursive {submodule}",
|
||||
Arguments = $"submodule update --init --recursive --depth 1 --single-branch {submodule}",
|
||||
WorkingDirectory = ANGLE_PATH.FullPath,
|
||||
});
|
||||
}
|
||||
|
|
|
@ -338,7 +338,7 @@ jobs:
|
|||
inputs:
|
||||
artifactName: ${{ parameters.artifactName }}
|
||||
pathToPublish: 'output'
|
||||
- ${{ if eq(variables['System.TeamProject'], 'devdiv') }}:
|
||||
- ${{ if and(eq(variables['System.TeamProject'], 'devdiv'), ne(parameters.buildPipelineType, 'tests'), ne(variables['System.PullRequest.IsFork'], 'true'), or(and(eq(variables['Build.Reason'], 'Schedule'), or(eq(variables['Build.SourceBranch'], 'refs/heads/main'), startsWith(variables['Build.SourceBranch'], 'refs/heads/release/'))), parameters.runCompliance)) }}:
|
||||
- task: ComponentGovernanceComponentDetection@0
|
||||
displayName: Run component detection
|
||||
condition: always()
|
||||
|
|
Загрузка…
Ссылка в новой задаче