Skip to content

Commit 49c51e5

Browse files
committed
ci (vs-build): use cmd to copy the DLLs, not powershell
We use a `.bat` script to copy the DLLs in the `vs-build` job, and those type of scripts are native to CMD, not to PowerShell. Signed-off-by: Johannes Schindelin <[email protected]>
1 parent 0622b62 commit 49c51e5

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

.github/workflows/main.yml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -147,10 +147,8 @@ jobs:
147147
- name: add msbuild to PATH
148148
uses: microsoft/setup-msbuild@v1
149149
- name: copy dlls to root
150-
shell: powershell
151-
run: |
152-
& compat\vcbuild\vcpkg_copy_dlls.bat release
153-
if (!$?) { exit(1) }
150+
shell: cmd
151+
run: compat\vcbuild\vcpkg_copy_dlls.bat release
154152
- name: generate Visual Studio solution
155153
shell: bash
156154
run: |

0 commit comments

Comments
 (0)