From c9ebebb22fa50ca50bd036599028d7e09f841c3f Mon Sep 17 00:00:00 2001 From: Darren Tucker Date: Tue, 2 Jun 2026 21:57:42 +1000 Subject: [PATCH] Reformat setup_ci command line. 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 | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/c-cpp.yml b/.github/workflows/c-cpp.yml index 1136f1e27..9d293d7bb 100644 --- a/.github/workflows/c-cpp.yml +++ b/.github/workflows/c-cpp.yml @@ -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