main
朱子楚\zhuzi 2023-03-25 12:21:00 +08:00
parent faa6c625cb
commit 2f95bdf649
2 changed files with 3 additions and 3 deletions

View File

@ -48,9 +48,9 @@ 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=src/..
# 拷贝依赖
linuxdeploy-x86_64.AppImage --plugin=qt --qmldir=. --output=appimage --create-desktop-file --icon-file=${targetName}.svg --executable=bin/release/${targetName} --appdir bin/release/
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
# 上传artifacts
- uses: actions/upload-artifact@v2

View File

@ -40,7 +40,7 @@ jobs:
version: ${{ matrix.qt_ver }}
arch: ${{ matrix.qt_arch }}
cached: 'false'
aqtversion: '==2.0.5'
aqtversion: '==2.0.5'
modules: 'qtmultimedia qt5compat qtshadertools'
# 拉取代码
- uses: actions/checkout@v2