From 77b3a1ea6067d22fdac90015c361a35124edcbb2 Mon Sep 17 00:00:00 2001 From: Utkarsh Umesan Pillai <66651184+utpilla@users.noreply.github.com> Date: Fri, 18 Aug 2023 14:35:12 -0700 Subject: [PATCH] Fix CI workflow for markdown file only changes (#4786) --- .../ci-instrumentation-libraries-md.yml | 2 +- .github/workflows/ci-md.yml | 17 +++++++++++++++-- 2 files changed, 16 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci-instrumentation-libraries-md.yml b/.github/workflows/ci-instrumentation-libraries-md.yml index 1a54a1ed1..b9d384511 100644 --- a/.github/workflows/ci-instrumentation-libraries-md.yml +++ b/.github/workflows/ci-instrumentation-libraries-md.yml @@ -3,7 +3,7 @@ # Description: This workflow exists to unblock documentation-only PRs. -# IMPORTANT: This workflow MUST use the same 'name' as the non -md workflow. +# IMPORTANT: This workflow MUST use the same 'name' and 'matrix' as the non -md workflow. name: Test instrumentation libraries diff --git a/.github/workflows/ci-md.yml b/.github/workflows/ci-md.yml index 1dde2355a..1ecb0470c 100644 --- a/.github/workflows/ci-md.yml +++ b/.github/workflows/ci-md.yml @@ -3,7 +3,7 @@ # Description: This workflow exists to unblock documentation-only PRs. -# IMPORTANT: This workflow MUST use the same 'name' as the non -md workflow. +# IMPORTANT: This workflow MUST use the same 'name' and 'matrix' as the non -md workflow. name: Build @@ -14,7 +14,20 @@ on: - '**.md' jobs: - build-test: + build-test-stable: + strategy: + matrix: + os: [ windows-latest, ubuntu-latest ] + version: [ net462, net6.0, net7.0 ] + exclude: + - os: ubuntu-latest + version: net462 + + runs-on: ubuntu-latest + steps: + - run: 'echo "No build required"' + + build-test-experimental: strategy: matrix: os: [ windows-latest, ubuntu-latest ]