diff --git a/.github/workflows/ubuntu.yml b/.github/workflows/ubuntu.yml index 39b47a3..49d0f24 100644 --- a/.github/workflows/ubuntu.yml +++ b/.github/workflows/ubuntu.yml @@ -34,7 +34,8 @@ jobs: with: version: ${{ matrix.qt_ver }} cached: 'false' - archives: 'qtbase qtdeclarative qtsvg qttools qttranslations qtwayland' + aqtversion: '==2.1.*' + arch: ${{ matrix.qt_arch }} modules: 'qtmultimedia qt5compat qtshadertools' - name: ubuntu install GL library run: sudo apt-get install -y libglew-dev libglfw3-dev qml-module-qtquick-controls qml-module-qtquick-controls2 @@ -53,7 +54,7 @@ jobs: - name: package run: | # make sure Qt plugin finds QML sources so it can deploy the imported files - export QML_SOURCES_PATHS=src + export QML_SOURCES_PATHS=./ # 拷贝依赖 linuxdeploy-x86_64.AppImage --plugin=qt --output=appimage --create-desktop-file --icon-file=${targetName}.svg --executable=bin/release/${targetName} --appdir bin/release/ mv ${{ env.targetName }}-*.AppImage ${{ env.targetName }}.AppImage