From 6851f4b8c3fc1b3e1114c56106e4dc31369c8513 Mon Sep 17 00:00:00 2001 From: Darren Tucker Date: Fri, 19 Aug 2022 17:22:18 +1000 Subject: [PATCH] Install Cygwin packages based on OS not config. --- .github/workflows/c-cpp.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/c-cpp.yml b/.github/workflows/c-cpp.yml index 2c5301eda..36d58a420 100644 --- a/.github/workflows/c-cpp.yml +++ b/.github/workflows/c-cpp.yml @@ -80,10 +80,10 @@ jobs: runs-on: ${{ matrix.os }} steps: - name: set cygwin git params - if: ${{ matrix.configs == 'windows-2019' }} + if: ${{ matrix.os == 'windows-2019' }} run: git config --global core.autocrlf input - name: install cygwin - if: ${{ matrix.configs == 'windows-2019' }} + if: ${{ matrix.os == 'windows-2019' }} uses: cygwin/cygwin-install-action@master with: packages: autoconf, automake, cygwin-devel, gcc-core, make, openssl-devel, zlib-devel