Skip to content

Commit c9ebebb

Browse files
committed
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.
1 parent 60343e4 commit c9ebebb

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

.github/workflows/c-cpp.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -140,8 +140,7 @@ jobs:
140140
- uses: actions/checkout@main
141141
- name: setup CI system
142142
run: |
143-
timeout 1200 sh .github/setup_ci.sh ${{ matrix.config }} ${{ matrix.target }} || \
144-
sh .github/setup_ci.sh ${{ matrix.config }} ${{ matrix.target }}
143+
sh -c "timeout 1200 .github/setup_ci.sh ${{ matrix.config }} ${{ matrix.target }} || .github/setup_ci.sh ${{ matrix.config }} ${{ matrix.target }}"
145144
env:
146145
CYGWIN_SETUP: ${{ steps.cygwin_install.outputs.setup }}
147146
- name: autoreconf

0 commit comments

Comments
 (0)