forked from qt-creator/qt-creator
Fix Qt Creator plugin wizard's GitHub action
for the changed location of build_plugin.py Fixes: QTCREATORBUG-25727 Change-Id: I6bda26b1820b86ac4cf12a55821eed879ee818bc Reviewed-by: Cristian Adam <cristian.adam@qt.io>
This commit is contained in:
@@ -212,10 +212,18 @@ jobs:
|
|||||||
|
|
||||||
set(ENV{NINJA_STATUS} "[%f/%t %o/sec] ")
|
set(ENV{NINJA_STATUS} "[%f/%t %o/sec] ")
|
||||||
|
|
||||||
|
set(build_plugin_py "scripts/build_plugin.py")
|
||||||
|
foreach(dir "share/qtcreator/scripts" "Qt Creator.app/Contents/Resources/scripts" "Contents/Resources/scripts")
|
||||||
|
if(EXISTS "${{ steps.qt_creator.outputs.qtc_dir }}/${dir}/build_plugin.py")
|
||||||
|
set(build_plugin_py "${dir}/build_plugin.py")
|
||||||
|
break()
|
||||||
|
endif()
|
||||||
|
endforeach()
|
||||||
|
|
||||||
execute_process(
|
execute_process(
|
||||||
COMMAND python
|
COMMAND python
|
||||||
-u
|
-u
|
||||||
${{ steps.qt_creator.outputs.qtc_dir }}/scripts/build_plugin.py
|
"${{ steps.qt_creator.outputs.qtc_dir }}/${build_plugin_py}"
|
||||||
--name "$ENV{PLUGIN_NAME}-$ENV{QT_CREATOR_VERSION}-${{ matrix.config.artifact }}"
|
--name "$ENV{PLUGIN_NAME}-$ENV{QT_CREATOR_VERSION}-${{ matrix.config.artifact }}"
|
||||||
--src .
|
--src .
|
||||||
--build build
|
--build build
|
||||||
|
Reference in New Issue
Block a user