GHA CI: only install required Qt components

So it won't waste time download/install unused Qt components.
This commit is contained in:
Chocobo1 2022-10-01 21:54:15 +08:00
parent 9a81cbf4c0
commit dcc5206e3d
No known key found for this signature in database
GPG Key ID: 210D9C873253A68C
4 changed files with 5 additions and 0 deletions

View File

@ -54,6 +54,8 @@ jobs:
uses: jurplel/install-qt-action@v3
with:
version: ${{ matrix.qt_version }}
archives: qtbase qtdeclarative qtsvg qttools
# Not sure why Qt made a hard dependency on qtdeclarative, try removing it when Qt > 6.4.0
- name: Install libtorrent
run: |

View File

@ -43,6 +43,7 @@ jobs:
uses: jurplel/install-qt-action@v3
with:
version: ${{ matrix.qt_version }}
archives: icu qtbase qtsvg qttools
- name: Install libtorrent
run: |

View File

@ -77,6 +77,7 @@ jobs:
uses: jurplel/install-qt-action@v3
with:
version: "6.4.0"
archives: qtbase qtsvg qttools
- name: Install libtorrent
run: |

View File

@ -25,6 +25,7 @@ jobs:
uses: jurplel/install-qt-action@v3
with:
version: "6.3.0"
archives: qtbase qtsvg qttools
- name: Install libtorrent
run: |