Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 4 additions & 12 deletions .github/workflows/base-installer-cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -163,19 +163,11 @@ jobs:
run: |
.\test.ps1 -Configuration Release -NoBuild -TestFilter 'TestCategory!=DesktopRequired' *>&1 | Tee-Object -FilePath test.log

- name: Scan Build Output
shell: powershell
- name: Analyze Build Log
if: always() && steps.build.outcome != 'skipped'
shell: pwsh
run: |
$results = Select-String -Path "build.log" -Pattern "^\s*[1-9][0-9]* Error\(s\)"
if ($results) {
foreach ($result in $results) {
Write-Host "Found errors in build.log $($result.LineNumber): $($result.Line)" -ForegroundColor red
}
exit 1
} else {
Write-Host "No errors found" -ForegroundColor green
exit 0
}
python scripts/tools/analyze_build_log.py build.log --workspace "${{ github.workspace }}"
Comment thread
jasonleenaylor marked this conversation as resolved.

- name: Move installers to staging folder
id: stage_installers
Expand Down
16 changes: 4 additions & 12 deletions .github/workflows/patch-installer-cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -232,19 +232,11 @@ jobs:
run: |
.\test.ps1 -Configuration Release -NoBuild -TestFilter 'TestCategory!=DesktopRequired' *>&1 | Tee-Object -FilePath test.log

- name: Scan Build Output
shell: powershell
- name: Analyze Build Log
if: always() && steps.build.outcome != 'skipped'
shell: pwsh
run: |
$results = Select-String -Path "build.log" -Pattern "^\s*[1-9][0-9]* Error\(s\)"
if ($results) {
foreach ($result in $results) {
Write-Host "Found errors in build.log $($result.LineNumber): $($result.Line)" -ForegroundColor red
}
exit 1
} else {
Write-Host "No errors found" -ForegroundColor green
exit 0
}
python scripts/tools/analyze_build_log.py build.log --workspace "${{ github.workspace }}"
Comment thread
johnml1135 marked this conversation as resolved.

- name: Find patch installer
id: find_patch
Expand Down
Loading
Loading