Merge pull request #1741 from jborean93/pwsh-7.4
Add support for PowerShell 7.3 in GHA
This commit is contained in:
@@ -46,7 +46,13 @@ runs:
|
||||
if: runner.os != 'Windows'
|
||||
|
||||
# Windows needs powershell to interact nicely with Meson
|
||||
# $PSNativeCommandArgumentPassing was introduced in pwsh 7.3 and the
|
||||
# legacy behaviour is needed for backwards compatibility with how this
|
||||
# was called in the past.
|
||||
- run: >
|
||||
if ($PSNativeCommandArgumentPassing) {
|
||||
$PSNativeCommandArgumentPassing = 'Legacy'
|
||||
};
|
||||
pipx run
|
||||
--python "${{ steps.python.outputs.python-path }}"
|
||||
--spec "${{ github.action_path }}"
|
||||
|
||||
Reference in New Issue
Block a user