Skip to content

Commit 2c996e9

Browse files
dschoGit for Windows Build Agent
authored andcommitted
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 6e81c39 commit 2c996e9

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
@@ -152,10 +152,8 @@ jobs:
152152
- name: add msbuild to PATH
153153
uses: microsoft/setup-msbuild@v1
154154
- name: copy dlls to root
155-
shell: powershell
156-
run: |
157-
& compat\vcbuild\vcpkg_copy_dlls.bat release
158-
if (!$?) { exit(1) }
155+
shell: cmd
156+
run: compat\vcbuild\vcpkg_copy_dlls.bat release
159157
- name: generate Visual Studio solution
160158
shell: bash
161159
run: |

0 commit comments

Comments
 (0)