Skip to content

Commit fa693bc

Browse files
CI: deploy test coverage for only one entry in the CI matrix
1 parent dd43e4f commit fa693bc

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

.github/workflows/build.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,9 @@ jobs:
1313
strategy:
1414
matrix:
1515
config:
16-
- {grb_version: 9.3.1}
16+
# if there are multiple items in this list, only use should
17+
# deployit=true for just one of them.
18+
- {grb_version: 9.3.1, deployit: true}
1719
steps:
1820
- name: Checkout
1921
uses: actions/[email protected]
@@ -38,7 +40,7 @@ jobs:
3840
make test_coverage
3941
- name: Deploy
4042
uses: JamesIves/[email protected]
41-
if: matrix.config.grb_version == '9.1.0' && github.event_name == 'push' && github.ref == 'refs/heads/stable'
43+
if: matrix.config.deployit && github.event_name == 'push' && github.ref == 'refs/heads/stable'
4244
with:
4345
branch: gh-pages
4446
folder: build/test_coverage/

0 commit comments

Comments
 (0)