File tree Expand file tree Collapse file tree 1 file changed +7
-5
lines changed Expand file tree Collapse file tree 1 file changed +7
-5
lines changed Original file line number Diff line number Diff line change @@ -5,18 +5,19 @@ name: Documentation
55
66on : [push, pull_request]
77
8- env :
9- DOXYGEN_VERSION : 1.9.6
10-
118jobs :
129 build :
1310 runs-on : ubuntu-22.04
11+ strategy :
12+ matrix :
13+ doxygen-version : [1.9.6, 1.14.0]
1414 steps :
1515 - name : Checkout
1616 uses : actions/checkout@v4
1717
1818 - name : Install dependencies
1919 run : |
20+ DOXYGEN_VERSION="${{ matrix.doxygen-version }}"
2021 wget --no-verbose "https://github.com/doxygen/doxygen/releases/download/Release_${DOXYGEN_VERSION//./_}/doxygen-${DOXYGEN_VERSION}.linux.bin.tar.gz"
2122 tar xf doxygen-${DOXYGEN_VERSION}.linux.bin.tar.gz
2223 echo "${PWD}/doxygen-${DOXYGEN_VERSION}/bin" >> $GITHUB_PATH
@@ -34,11 +35,11 @@ jobs:
3435 mv _build_sphinx/html/* deploy
3536
3637 - name : Setup pages
37- if : github.event_name != 'pull_request'
38+ if : github.event_name != 'pull_request' && matrix.doxygen-version == '1.14.0'
3839 uses : actions/configure-pages@v4
3940
4041 - name : Upload pages artifact
41- if : github.event_name != 'pull_request'
42+ if : github.event_name != 'pull_request' && matrix.doxygen-version == '1.14.0'
4243 uses : actions/upload-pages-artifact@v3
4344 with :
4445 path : doc/deploy
4748 if : github.event_name == 'pull_request'
4849 uses : actions/upload-artifact@v4
4950 with :
51+ name : docs-doxygen-${{ matrix.doxygen-version }}
5052 path : doc/deploy
5153
5254 deploy :
You can’t perform that action at this time.
0 commit comments