What’s the difference between “shell: pwsh” and “shell: powershell” in GitHub workflow files?
"shell: powershell"
- Windows PowerShell 5.1
- Windows only
- NET Framework 4.5
"shell: pwsh"
- PowerShell (Core) 6+
- Cross-platform (Windows, macOS, Linux)
- NET Core / .NET (open source)
Checkout this example workflow file! (Example workflow file)