Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

how to filter github action matrices (matrix fails to render as well) #3

Open
mgood7123 opened this issue Jul 1, 2021 · 0 comments

Comments

@mgood7123
Copy link

mgood7123 commented Jul 1, 2021

Badge NO FILTER

[![](http://github-actions.40ants.com/mgood7123/prebuilder/matrix.svg)](https://github.com/mgood7123/prebuilder/actions)

Badge FILTERED

[![](http://github-actions.40ants.com/mgood7123/prebuilder/matrix.svg?only=CMake.run-build.ubuntu-latest,CMake.run-build.macOS-latest,CMake.run-build.windows-latest)](https://github.com/mgood7123/prebuilder/actions)

why does this have Waiting For A Run even though the workflow has succeeded?

also why does the matrix fail to render?

cmake.yaml:

name: CMake

on:
  push:
    branches: [ main ]

concurrency:
  group: build
  cancel-in-progress: true

env:
  # Customize the CMake build type here (Release, Debug, RelWithDebInfo, etc.)
  BUILD_TYPE: Debug

jobs:
  build:
    runs-on: ${{ matrix.os }}
    permissions:
      contents: write
    strategy:
      fail-fast: false
      max-parallel: 1
      matrix:
        include:
        
        - os: ubuntu-latest
          extension: so

        - os: macOS-latest
          extension: dylib

        - os: windows-latest
          extension: dll

    defaults:
      run:
        shell: bash

    steps:
    - uses: actions/checkout@v2
    
# ommited
@mgood7123 mgood7123 reopened this Jul 1, 2021
@mgood7123 mgood7123 changed the title how to filter github action matrices how to filter github action matrices (matrix fails to render as well) Jul 1, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant