This commit is contained in:
朱子楚\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 - 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 --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 mv ${{ env.targetName }}-*.AppImage ${{ env.targetName }}.AppImage
# 上传artifacts # 上传artifacts
- uses: actions/upload-artifact@v2 - uses: actions/upload-artifact@v2