aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorzeertzjq <zeertzjq@outlook.com>2022-11-17 15:57:59 +0800
committerGitHub <noreply@github.com>2022-11-17 15:57:59 +0800
commit6aa5520763646140482e19f69a5994932bf1d9fd (patch)
tree9b2a0402b96126f5a217ea4b49985dba80a3f28f
parented27f0e93e177ffca1def9c64fdfc8c390a2dadd (diff)
downloadrneovim-6aa5520763646140482e19f69a5994932bf1d9fd.tar.gz
rneovim-6aa5520763646140482e19f69a5994932bf1d9fd.tar.bz2
rneovim-6aa5520763646140482e19f69a5994932bf1d9fd.zip
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.
-rw-r--r--.github/workflows/ci.yml2
1 files changed, 2 insertions, 0 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 53d52ec55a..9c9de055cf 100644
--- 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.