title: How to skip a configuration of a matrix with GitHub actions?
body: <p>I have the following job on GitHub actions. And I would to like to skip the macOS x86 configuration: is there a way to do this?</p>
  <pre><code>  build-and-push-native-libraries:
      name: Build and push native library on ${{ matrix.os }} ${{ matrix.architecture }}
      strategy:
        fail-fast: true
        matrix:
          os: [ubuntu-latest, macOS, windows-latest]
          java: [15]
          architecture: [x86, x64]
          include:
            - compiler: gcc
              gcc: 8
      runs-on: ${{ matrix.os }}
      steps:
        - name: Set up JDK ${{ matrix.java }}
          uses: actions/setup-java@v1
          with:
            java-version: ${{ matrix.java }}
            architecture: ${{ matrix.architecture }}
        - uses: actions/checkout@v2
        - if: startsWith(matrix.os, 'ubuntu') == true
          name: Change the permissions of the build script of external classes
          run: chmod +x ./java/src/main/resources/compileExternalClasses.sh
        - name: Build and push native library
          run: |
            mvn -B clean package -DskipTests=true --file ./native/pom.xml
            git config user.name &quot;${{ github.event.head_commit.committer.name }}&quot;
            git config user.email &quot;${{ github.event.head_commit.committer.email }}&quot;
            git pull origin experimental
            git commit -am &quot;Generated library for ${{ matrix.os }} ${{ matrix.architecture }}&quot; --allow-empty
            git push
  </code></pre>