]> git.ipfire.org Git - thirdparty/openssh-portable.git/commitdiff
Reformat setup_ci command line.
authorDarren Tucker <dtucker@dtucker.net>
Tue, 2 Jun 2026 11:57:42 +0000 (21:57 +1000)
committerDarren Tucker <dtucker@dtucker.net>
Tue, 2 Jun 2026 13:28:52 +0000 (23:28 +1000)
This prevents setup_ci from running twice on Cygwin due to different
parsing of the command line since on Windows it's run via Powershell.

.github/workflows/c-cpp.yml

index 1136f1e27c29a20c99bbbe761edf9a5e8fa2bf60..9d293d7bb0eacf0010d3483a19b19dde372c2b55 100644 (file)
@@ -140,8 +140,7 @@ jobs:
     - uses: actions/checkout@main
     - name: setup CI system
       run: |
-        timeout 1200 sh .github/setup_ci.sh ${{ matrix.config }} ${{ matrix.target }} || \
-        sh .github/setup_ci.sh ${{ matrix.config }} ${{ matrix.target }}
+        sh -c "timeout 1200 .github/setup_ci.sh ${{ matrix.config }} ${{ matrix.target }} || .github/setup_ci.sh ${{ matrix.config }} ${{ matrix.target }}"
       env:
         CYGWIN_SETUP: ${{ steps.cygwin_install.outputs.setup }}
     - name: autoreconf