Skip to content

Commit

Permalink
Treat Qt 5.10 and 5.11 differently
Browse files Browse the repository at this point in the history
They only have a single `qt` doc archive.
  • Loading branch information
pcolby committed Jan 24, 2024
1 parent 2363d48 commit a0b0655
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ jobs:
version: ${{ matrix.qt }}
modules: ${{ startsWith(matrix.qt, '6') && 'qtconnectivity' || '' }}
documentation: true
doc-archives: qtcore ${{ startsWith(matrix.qt, '5') && 'qtbluetooth' || '' }}
doc-archives: ${{ (startsWith(matrix.qt, '5.10.') || startsWith(matrix.qt, '5.11.')) && 'qt' || (startsWith(matrix.qt, '5') && 'qtcore qtbluetooth' || 'qtcore') }}
doc-modules: ${{ startsWith(matrix.qt, '6') && 'qtbluetooth' || '' }}
aqtversion: ==3.1.* # \todo https://github.com/jurplel/install-qt-action/issues/218
- name: Install linuxdeploy
Expand Down Expand Up @@ -209,7 +209,7 @@ jobs:
version: ${{ matrix.qt }}
modules: ${{ startsWith(matrix.qt, '6') && 'qtconnectivity' || '' }}
documentation: true
doc-archives: qtcore ${{ startsWith(matrix.qt, '5') && 'qtbluetooth' || '' }}
doc-archives: ${{ (startsWith(matrix.qt, '5.10.') || startsWith(matrix.qt, '5.11.')) && 'qt' || (startsWith(matrix.qt, '5') && 'qtcore qtbluetooth' || 'qtcore') }}
doc-modules: ${{ startsWith(matrix.qt, '6') && 'qtbluetooth' || '' }}
aqtversion: ==3.1.* # \todo https://github.com/jurplel/install-qt-action/issues/218
- name: Build
Expand Down Expand Up @@ -351,7 +351,7 @@ jobs:
tools: ${{ startsWith(matrix.qt, '6.6') && startsWith(matrix.generator, 'MinGW') && 'tools_mingw90' || '' }}
#add-tools-to-path: true ///< \toto Use once released by install-qt-action.
documentation: true
doc-archives: qtcore ${{ startsWith(matrix.qt, '5') && 'qtbluetooth' || '' }}
doc-archives: ${{ (startsWith(matrix.qt, '5.10.') || startsWith(matrix.qt, '5.11.')) && 'qt' || (startsWith(matrix.qt, '5') && 'qtcore qtbluetooth' || 'qtcore') }}
doc-modules: ${{ startsWith(matrix.qt, '6') && 'qtbluetooth' || '' }}
aqtversion: ==3.1.* # \todo https://github.com/jurplel/install-qt-action/issues/218
- name: Configure cross-compilation
Expand Down

0 comments on commit a0b0655

Please sign in to comment.