From 59a7835ace727bcc2dd99957afbc4ae7eec7d6ba Mon Sep 17 00:00:00 2001 From: Jonas Kvinge Date: Sat, 1 Oct 2022 01:40:32 +0200 Subject: [PATCH] CI: Fix if lines --- .github/workflows/build.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index b74e23a1..5f389fa0 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -667,12 +667,12 @@ jobs: run: ln -s /strawberry-mxe ~/mxe-shared - name: Set ENABLE_WIN32_CONSOLE (debug) - if: ${{matrix.build_type}} == 'debug' + if: matrix.build_type == 'debug' shell: bash run: echo "win32_console=ON" >> $GITHUB_ENV - name: Set ENABLE_WIN32_CONSOLE (release) - if: ${{matrix.build_type}} == 'release' + if: matrix.build_type == 'release' shell: bash run: echo "win32_console=OFF" >> $GITHUB_ENV @@ -752,7 +752,7 @@ jobs: -R /strawberry-mxe/usr/${{matrix.arch}}-w64-mingw32.shared - name: Strip binaries - if: ${{matrix.build_type}} == 'release' + if: matrix.build_type == 'release' working-directory: build run: find . -type f \( -iname \*.dll -o -iname \*.exe \) -exec /strawberry-mxe/usr/bin/${{matrix.arch}}-w64-mingw32.shared-strip {} \; @@ -862,12 +862,12 @@ jobs: run: cmake -E make_directory build - name: Set ENABLE_WIN32_CONSOLE (debug) - if: ${{matrix.build_type}} == 'debug' + if: matrix.build_type == 'debug' shell: bash run: echo "win32_console=ON" >> $GITHUB_ENV - name: Set ENABLE_WIN32_CONSOLE (release) - if: ${{matrix.build_type}} == 'release' + if: matrix.build_type == 'release' shell: bash run: echo "win32_console=OFF" >> $GITHUB_ENV