Skip to content

Commit ea8ff73

Browse files
committed
Add artifact dir
1 parent c41d00c commit ea8ff73

File tree

1 file changed

+4
-4
lines changed
  • .azure-pipelines/PipelineSteps/BatchGeneration

1 file changed

+4
-4
lines changed

.azure-pipelines/PipelineSteps/BatchGeneration/prepare.ps1

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -34,11 +34,11 @@ foreach ($moduleGroup in $groupedModules) {
3434
$index++
3535
}
3636

37-
$generationTargetsOutputDir = Join-Path $RepoRoot "artifacts"
38-
if (-not (Test-Path -Path $generationTargetsOutputDir)) {
39-
New-Item -ItemType Directory -Path $generationTargetsOutputDir
37+
$artifactsDir = Join-Path $RepoRoot "artifacts"
38+
if (-not (Test-Path -Path $artifactsDir)) {
39+
New-Item -ItemType Directory -Path $artifactsDir
4040
}
41-
$generationTargetsOutputFile = Join-Path $generationTargetsOutputDir "generationTargets.json"
41+
$generationTargetsOutputFile = Join-Path $artifactsDir "generationTargets.json"
4242
$generationTargets | ConvertTo-Json -Depth 5 | Out-File -FilePath $generationTargetsOutputFile -Encoding utf8
4343

4444
if ($MatrixStr -and $MatrixStr.Length -gt 1) {

0 commit comments

Comments
 (0)