commit 6aa5520763646140482e19f69a5994932bf1d9fd
parent ed27f0e93e177ffca1def9c64fdfc8c390a2dadd
Author: zeertzjq <zeertzjq@outlook.com>
Date: Thu, 17 Nov 2022 15:57:59 +0800
ci(windows): set $PSNativeCommandArgumentPassing = 'Legacy' (#21083)
Ref https://github.com/actions/runner-images/issues/6586
Some runners are using new images, while some others are using old
image. This is the only way I can find that makes it work on both.
Diffstat:
1 file changed, 2 insertions(+), 0 deletions(-)
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
@@ -340,6 +340,8 @@ jobs:
- name: Install test deps
run: |
+ $PSNativeCommandArgumentPassing = 'Legacy'
+
& build\bin\nvim.exe "--version"
# Ensure that the "win32" feature is set.