From d5d99144782dd89c38907938845cc630d81b1d32 Mon Sep 17 00:00:00 2001 From: Renato Rotenberg Date: Wed, 29 Jan 2025 11:13:24 -0300 Subject: [PATCH] Fix CI steps triggers --- .github/workflows/main.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 59fa6c8..16a4126 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -28,24 +28,24 @@ jobs: python-version: '3.10' - name: (Windows) Set up MinGW - if: ${{ matrix.identifier }} == 'windows' + if: ${{ startsWith(matrix.identifier, 'windows') }} uses: egor-tensin/setup-mingw@v2 - name: (Windows) Prepare cross compilation - if: ${{ matrix.identifier }} == 'windows' + if: ${{ startsWith(matrix.identifier, 'windows') }} shell: sh run: | echo "OS=Windows_NT" >> $GITHUB_ENV - name: (Linux) Install dependencies - if: ${{ matrix.identifier }} == 'linux' + if: ${{ startsWith(matrix.identifier, 'linux') }} run: | sudo add-apt-repository -y "deb http://archive.ubuntu.com/ubuntu `lsb_release -sc` main universe restricted multiverse" sudo apt-get update -y -qq sudo apt-get install libsdl2-dev libglew-dev - name: (Web) Set up Emscripten - if: ${{ matrix.identifier }} == 'web' + if: ${{ startsWith(matrix.identifier, 'web') }} uses: mymindstorm/setup-emsdk@v14 - name: Build shared library