fix:github action install qt throw error on windows platform

This commit is contained in:
xiaoyifang 2022-04-23 14:02:34 +08:00
parent 89dc638815
commit 4a325c41af

View file

@ -50,20 +50,20 @@ jobs:
env: env:
targetName: GoldenDict.exe targetName: GoldenDict.exe
version: 22.4.23-GrainRain version: 22.4.23-GrainRain
# 步骤
steps: steps:
# 安装Qt - uses: actions/setup-python@v3
with:
python-version: '3.9'
- name: Install Qt - name: Install Qt
uses: jurplel/install-qt-action@v3 uses: jurplel/install-qt-action@v3
with: with:
# Version of Qt to install
version: ${{ matrix.qt_ver }} version: ${{ matrix.qt_ver }}
# Target platform for build
# target: ${{ matrix.qt_target }} # target: ${{ matrix.qt_target }}
arch: ${{ matrix.qt_arch }} arch: ${{ matrix.qt_arch }}
cached: 'false' cached: 'false'
modules: qtwebengine qtwebchannel qtpositioning qt5compat qtmultimedia qtimageformats modules: qtwebengine qtwebchannel qtpositioning qt5compat qtmultimedia qtimageformats
# 拉取代码 setup-python: 'false'
py7zrversion: '==0.18.1'
- uses: actions/checkout@v3 - uses: actions/checkout@v3
with: with:
fetch-depth: 0 fetch-depth: 0