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
4 changed files with 5 additions and 0 deletions

View File

@@ -54,6 +54,8 @@ jobs:
uses: jurplel/install-qt-action@v3 uses: jurplel/install-qt-action@v3
with: with:
version: ${{ matrix.qt_version }} 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 - name: Install libtorrent
run: | run: |

View File

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

View File

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

View File

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