Compare commits

...

8 Commits

Author SHA1 Message Date
Jaime Bernardo
4a50a82b7e Revert "[TEMP]To test failures. Please revert after"
This reverts commit 6003aa8e17.
2024-10-21 22:07:45 +01:00
Jaime Bernardo
f353096d3e Revert "Revert intential .sln arm64 configuration error"
This reverts commit df051ff516.
2024-10-21 21:59:15 +01:00
Jaime Bernardo
f2530db274 Reduce Write-Error calls 2024-10-21 21:02:57 +01:00
Jaime Bernardo
df051ff516 Revert intential .sln arm64 configuration error 2024-10-21 16:55:46 +01:00
Jaime Bernardo
e36f71bf7b Remove remaining ForegroundColor Red 2024-10-21 16:43:50 +01:00
Jaime Bernardo
e3a71e8f1c Remove ForegroundColor Red from Write-Error 2024-10-21 16:39:48 +01:00
Jaime Bernardo
6003aa8e17 [TEMP]To test failures. Please revert after 2024-10-21 16:31:56 +01:00
Jaime Bernardo
ed39095c1b [ci]Fail when something's wrong on multiline scripts 2024-10-21 16:31:07 +01:00
3 changed files with 10 additions and 2 deletions

View File

@@ -143,13 +143,19 @@ jobs:
- pwsh: |-
& '.pipelines/applyXamlStyling.ps1' -Passive
displayName: Verify XAML formatting
- pwsh: |-
& '.pipelines/verifyNugetPackages.ps1' -solution '$(build.sourcesdirectory)\PowerToys.sln'
displayName: Verify Nuget package versions for PowerToys.sln
- pwsh: |-
& '.pipelines/verifyArm64Configuration.ps1' -solution '$(build.sourcesdirectory)\PowerToys.sln'
& '.pipelines/verifyArm64Configuration.ps1' -solution '$(build.sourcesdirectory)\tools\BugReportTool\BugReportTool.sln'
& '.pipelines/verifyArm64Configuration.ps1' -solution '$(build.sourcesdirectory)\tools\WebcamReportTool\WebcamReportTool.sln'
& '.pipelines/verifyArm64Configuration.ps1' -solution '$(build.sourcesdirectory)\tools\StylesReportTool\StylesReportTool.sln'
& '.pipelines/verifyArm64Configuration.ps1' -solution '$(build.sourcesdirectory)\installer\PowerToysSetup.sln'
displayName: Verify formatting, nuget, and ARM64 configurations
displayName: Verify ARM64 configurations
- ${{ if eq(parameters.enablePackageCaching, true) }}:
- task: Cache@2

View File

@@ -59,6 +59,7 @@ if ($errorTable.Count -gt 0) {
};
Write-Host -ForegroundColor Red `r
}
Write-Error "Found arm64 verification errors."
exit 1;
}

View File

@@ -48,7 +48,7 @@ $totalFailure = 0;
Write-Host $DirPath;
if (-not (Test-Path $DirPath)) {
Write-Host "Folder does not exist!"
Write-Error "Folder does not exist!"
}
Write-Host "Total items: " $items.Count
@@ -79,6 +79,7 @@ $items | ForEach-Object {
}
if ($totalFailure -gt 0) {
Write-Error "Some items had issues."
exit 1
}