Skip to content

Commit 40ddf9a

Browse files
CopilotDRSDavidSoft
andcommitted
Add success conditionals to test summary steps
Co-authored-by: DRSDavidSoft <4673812+DRSDavidSoft@users.noreply.github.com>
1 parent 0db2dbf commit 40ddf9a

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

.github/workflows/tests.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,7 @@ jobs:
6060
run: .\build.ps1 -verbose
6161

6262
- name: Summary - Vendor initialization
63+
if: success()
6364
shell: pwsh
6465
run: |
6566
echo "### ⚙️ Vendor Initialization" >> $env:GITHUB_STEP_SUMMARY
@@ -75,6 +76,7 @@ jobs:
7576
cmd /c vendor\init.bat /v /d /t
7677
7778
- name: Summary - Clink Shell test
79+
if: success()
7880
shell: pwsh
7981
run: |
8082
echo "| Clink Shell | ✅ Passed |" >> $env:GITHUB_STEP_SUMMARY
@@ -83,6 +85,7 @@ jobs:
8385
PowerShell.exe -ExecutionPolicy Bypass -NoLogo -NoProfile -Command "$env:CMDER_DEBUG='1'; . 'vendor\profile.ps1'"
8486
8587
- name: Summary - PowerShell test
88+
if: success()
8689
shell: pwsh
8790
run: |
8891
echo "| PowerShell | ✅ Passed |" >> $env:GITHUB_STEP_SUMMARY
@@ -91,6 +94,7 @@ jobs:
9194
bash vendor/cmder.sh
9295
9396
- name: Summary - Bash test
97+
if: success()
9498
shell: pwsh
9599
run: |
96100
echo "| Bash | ✅ Passed |" >> $env:GITHUB_STEP_SUMMARY

0 commit comments

Comments
 (0)