]> git.ipfire.org Git - thirdparty/git.git/commitdiff
ci (vs-build): use `cmd` to copy the DLLs, not `powershell`
authorJohannes Schindelin <johannes.schindelin@gmx.de>
Wed, 23 Jun 2021 15:24:12 +0000 (15:24 +0000)
committerJunio C Hamano <gitster@pobox.com>
Tue, 29 Jun 2021 03:35:39 +0000 (20:35 -0700)
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 <johannes.schindelin@gmx.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
.github/workflows/main.yml

index c62766e7b1a670008b00dcc8c99ff3fcd0f412bf..d430c4e0d20622b37e816ef1a13d1a7b62ff682b 100644 (file)
@@ -152,10 +152,8 @@ jobs:
     - name: add msbuild to PATH
       uses: microsoft/setup-msbuild@v1
     - name: copy dlls to root
-      shell: powershell
-      run: |
-        & compat\vcbuild\vcpkg_copy_dlls.bat release
-        if (!$?) { exit(1) }
+      shell: cmd
+      run: compat\vcbuild\vcpkg_copy_dlls.bat release
     - name: generate Visual Studio solution
       shell: bash
       run: |