Commit 879216d 1 parent 3755d6e commit 879216d Copy full SHA for 879216d
File tree 1 file changed +13
-1
lines changed
1 file changed +13
-1
lines changed Original file line number Diff line number Diff line change @@ -178,8 +178,20 @@ steps:
178
178
$yakRh7Name = $yakCurrentVersName -Replace "rh6_27", "rh7_0"
179
179
Rename-Item -Path $yakCurrentVersName -NewName $yakRh7Name
180
180
..\yak build --platform win
181
+ New-Item -ItemType Directory -Path $(System.DefaultWorkingDirectory)\results\yak
182
+ Copy-Item $yakCurrentVersName $(System.DefaultWorkingDirectory)\results\yak\$yakCurrentVersName
183
+ Copy-Item $yakRh7Name $(System.DefaultWorkingDirectory)\results\yak\$yakRh7Name
181
184
displayName : Package yak
182
-
185
+
186
+ - task : PowerShell@2
187
+ displayName : ' List files in Yak folder'
188
+ inputs :
189
+ targetType : ' inline'
190
+ script : |
191
+ $yakFolder = "$(System.DefaultWorkingDirectory)/results/yak"
192
+ Write-Host "Listing files in folder: $yakFolder"
193
+ Get-ChildItem -Path $yakFolder -Filter "*.yak" | ForEach-Object { Write-Host "Found file: $($_.FullName)" }
194
+
183
195
- publish : $(System.DefaultWorkingDirectory)\results\yak\
184
196
displayName : Publish Yak Package to Azure
185
197
artifact : Yak Package
You can’t perform that action at this time.
0 commit comments