From b87a09cc89aa4ffa137bcce7fc2171cf60cd838d Mon Sep 17 00:00:00 2001 From: Eike Ziller Date: Wed, 14 Apr 2021 14:28:35 +0200 Subject: GitHub: Fix location of build_plugin.py With the fix of the devel package, this has moved. Change-Id: If4635a205058198f8ce2ee8ac3debe3d97334dde Reviewed-by: Cristian Adam --- .github/workflows/build_cmake.yml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build_cmake.yml b/.github/workflows/build_cmake.yml index d51817f..7853fb4 100644 --- a/.github/workflows/build_cmake.yml +++ b/.github/workflows/build_cmake.yml @@ -212,10 +212,16 @@ jobs: set(ENV{NINJA_STATUS} "[%f/%t %o/sec] ") + if("${{ runner.os }}" STREQUAL "macOS") + set(build_script "Qt Creator.app/Contents/Resources/scripts/build_plugin.py") + else() + set(build_script "share/qtcreator/scripts/build_plugin.py") + endif() + execute_process( COMMAND python -u - ${{ steps.qt_creator.outputs.qtc_dir }}/scripts/build_plugin.py + ${{ steps.qt_creator.outputs.qtc_dir }}/${build_script} --name "$ENV{PLUGIN_NAME}-$ENV{QT_CREATOR_VERSION}-${{ matrix.config.artifact }}" --src . --build build -- cgit v1.2.3