main
朱子楚\zhuzi 2023-03-25 12:04:10 +08:00
parent 128869f46e
commit 0176f14469
1 changed files with 2 additions and 2 deletions

View File

@ -52,9 +52,9 @@ jobs:
- name: package - name: package
run: | run: |
# make sure Qt plugin finds QML sources so it can deploy the imported files # 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 --output=appimage --create-desktop-file --icon-file=${targetName}.svg --executable=bin/release/${targetName} --appdir bin/release/ linuxdeploy-x86_64.AppImage --plugin=qt --qmldir=. --output=appimage --create-desktop-file --icon-file=${targetName}.svg --executable=bin/release/${targetName} --appdir bin/release/
mv ${{ env.targetName }}-*.AppImage ${{ env.targetName }}.AppImage mv ${{ env.targetName }}-*.AppImage ${{ env.targetName }}.AppImage
# 上传artifacts # 上传artifacts
- uses: actions/upload-artifact@v2 - uses: actions/upload-artifact@v2