From fa693bcaf9e1b61768c264a4f57259aedb25816d Mon Sep 17 00:00:00 2001 From: Tim Davis Date: Wed, 21 Aug 2024 14:57:04 -0500 Subject: [PATCH] CI: deploy test coverage for only one entry in the CI matrix --- .github/workflows/build.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 3a76340ad9..f1562e1b0f 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -13,7 +13,9 @@ jobs: strategy: matrix: config: - - {grb_version: 9.3.1} + # if there are multiple items in this list, only use should + # deployit=true for just one of them. + - {grb_version: 9.3.1, deployit: true} steps: - name: Checkout uses: actions/checkout@v2.0.0 @@ -38,7 +40,7 @@ jobs: make test_coverage - name: Deploy uses: JamesIves/github-pages-deploy-action@4.1.1 - if: matrix.config.grb_version == '9.1.0' && github.event_name == 'push' && github.ref == 'refs/heads/stable' + if: matrix.config.deployit && github.event_name == 'push' && github.ref == 'refs/heads/stable' with: branch: gh-pages folder: build/test_coverage/