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: |