summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEike Ziller <eike.ziller@qt.io>2021-04-14 14:28:35 +0200
committerEike Ziller <eike.ziller@qt.io>2021-04-15 06:26:19 +0000
commitc5e6b16c98e6eed97dd4e0b979c1ca9bc2d3d5c2 (patch)
treecae0c3e2d894098efc39efb2a15c6a310481cf21
parent505058e774ebe92625addc72be8aab0846f25da4 (diff)
GitHub: Fix location of build_plugin.pyv4.15.0
With the fix of the devel package, this has moved. Change-Id: If4635a205058198f8ce2ee8ac3debe3d97334dde Reviewed-by: Cristian Adam <cristian.adam@qt.io>
-rw-r--r--.github/workflows/build_cmake.yml8
1 files changed, 7 insertions, 1 deletions
diff --git a/.github/workflows/build_cmake.yml b/.github/workflows/build_cmake.yml
index 2b42993..5274e13 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