mirror of
https://github.com/Serial-Studio/Serial-Studio.git
synced 2025-01-31 17:42:55 +08:00
Update deploy.yml
This commit is contained in:
parent
d932e6ca50
commit
001b7855cc
12
.github/workflows/deploy.yml
vendored
12
.github/workflows/deploy.yml
vendored
@ -25,6 +25,7 @@ env:
|
|||||||
QML_DIR_NIX: "assets/qml"
|
QML_DIR_NIX: "assets/qml"
|
||||||
QML_DIR_WIN: "assets\\qml"
|
QML_DIR_WIN: "assets\\qml"
|
||||||
PUBLISHER: "Alex Spataru"
|
PUBLISHER: "Alex Spataru"
|
||||||
|
QT_MODULES: qtserialport qt5compat
|
||||||
REPO_DIR: "/home/runner/work/Serial-Studio/Serial-Studio"
|
REPO_DIR: "/home/runner/work/Serial-Studio/Serial-Studio"
|
||||||
QT_VERSION: 6.2.2
|
QT_VERSION: 6.2.2
|
||||||
QMAKE: qmake6
|
QMAKE: qmake6
|
||||||
@ -56,7 +57,7 @@ jobs:
|
|||||||
uses: jurplel/install-qt-action@v2
|
uses: jurplel/install-qt-action@v2
|
||||||
with:
|
with:
|
||||||
version: ${{env.QT_VERSION}}
|
version: ${{env.QT_VERSION}}
|
||||||
modules: qtserialport qt5compat
|
modules: ${{env.QT_MODULES}}
|
||||||
aqtversion: '==2.0.0'
|
aqtversion: '==2.0.0'
|
||||||
cached: ${{steps.cache-qt.outputs.cache-hit}}
|
cached: ${{steps.cache-qt.outputs.cache-hit}}
|
||||||
|
|
||||||
@ -81,10 +82,9 @@ jobs:
|
|||||||
|
|
||||||
- name: '📦 Create AppImage'
|
- name: '📦 Create AppImage'
|
||||||
run: |
|
run: |
|
||||||
which ${{env.QMAKE}}
|
|
||||||
export QML_SOURCES_PATHS="${{env.QML_DIR_NIX}}"
|
export QML_SOURCES_PATHS="${{env.QML_DIR_NIX}}"
|
||||||
export QMAKE=${{env.QMAKE}}
|
export QMAKE=${{env.REPO_DIR}}/../Qt/${{env.QT_VERSION}}/gcc_64/bin/qmake6
|
||||||
export PATH=/home/runner/work/Serial-Studio/Qt/${{env.QT_VERSION}}/gcc_64/libexec:$PATH
|
export PATH=${{env.REPO_DIR}}/../Qt/${{env.QT_VERSION}}/gcc_64/libexec:$PATH
|
||||||
./linuxdeploy-x86_64.AppImage --appdir AppDir -e ${{env.UNIXNAME}} -i deploy/linux/${{env.UNIXNAME}}.png -d deploy/linux/${{env.UNIXNAME}}.desktop --plugin qt --output appimage
|
./linuxdeploy-x86_64.AppImage --appdir AppDir -e ${{env.UNIXNAME}} -i deploy/linux/${{env.UNIXNAME}}.png -d deploy/linux/${{env.UNIXNAME}}.desktop --plugin qt --output appimage
|
||||||
rm linuxdeploy-x86_64.AppImage
|
rm linuxdeploy-x86_64.AppImage
|
||||||
rm linuxdeploy-plugin-qt-x86_64.AppImage
|
rm linuxdeploy-plugin-qt-x86_64.AppImage
|
||||||
@ -118,7 +118,7 @@ jobs:
|
|||||||
uses: jurplel/install-qt-action@v2
|
uses: jurplel/install-qt-action@v2
|
||||||
with:
|
with:
|
||||||
version: ${{env.QT_VERSION}}
|
version: ${{env.QT_VERSION}}
|
||||||
modules: qtserialport qt5compat
|
modules: ${{env.QT_MODULES}}
|
||||||
aqtversion: '==2.0.0'
|
aqtversion: '==2.0.0'
|
||||||
cached: ${{steps.cache-qt.outputs.cache-hit}}
|
cached: ${{steps.cache-qt.outputs.cache-hit}}
|
||||||
|
|
||||||
@ -170,7 +170,7 @@ jobs:
|
|||||||
uses: jurplel/install-qt-action@v2
|
uses: jurplel/install-qt-action@v2
|
||||||
with:
|
with:
|
||||||
version: ${{env.QT_VERSION}}
|
version: ${{env.QT_VERSION}}
|
||||||
modules: qtserialport qt5compat
|
modules: ${{env.QT_MODULES}}
|
||||||
aqtversion: '==2.0.0'
|
aqtversion: '==2.0.0'
|
||||||
cached: ${{steps.cache-qt.outputs.cache-hit}}
|
cached: ${{steps.cache-qt.outputs.cache-hit}}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user