Make PowerShell profile.ps1's debug and verbose working correctly

This commit is contained in:
David Refoua
2025-11-09 04:29:32 +03:30
parent 9c3bbe9b24
commit dc3b142b32
2 changed files with 30 additions and 23 deletions

View File

@@ -49,6 +49,7 @@ jobs:
- name: Testing PowerShell
run: |
PowerShell.exe -ExecutionPolicy Bypass -NoLogo -NoProfile -Command "$CMDER_DEBUG = 1; 'vendor\profile.ps1' 4>&1 5>&1"
PowerShell.exe -ExecutionPolicy Bypass -NoLogo -NoProfile -Command "$env:CMDER_DEBUG='1'; . 'vendor\profile.ps1'" 4>&1 5>&1
- name: Testing Bash
run: |
bash vendor/cmder.sh