Skip to content

Commit

Permalink
CI: deploy test coverage for only one entry in the CI matrix
Browse files Browse the repository at this point in the history
  • Loading branch information
DrTimothyAldenDavis committed Aug 21, 2024
1 parent dd43e4f commit fa693bc
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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/
Expand Down

0 comments on commit fa693bc

Please sign in to comment.