aboutsummaryrefslogtreecommitdiffstats
path: root/.github/workflows/build_cmake.yml
diff options
context:
space:
mode:
authorAlessandro Portale <alessandro.portale@qt.io>2020-02-07 11:54:19 +0100
committerAlessandro Portale <alessandro.portale@qt.io>2020-02-10 12:09:18 +0000
commit1a0af1ca226e55d353239b016d1ef1d4d1f70069 (patch)
tree2822e888f421c4f68120dd2eb8842022acc403f6 /.github/workflows/build_cmake.yml
parent6627cb2f3faa3b4dcec66e894c67d3fd2194c7c8 (diff)
CMake Build: Let the version dialog log link point to the repo of origin
https://github.com/<qtcreator-fork>/commits/<sha> Instead of expecting a "%1" placeholder in the passed-in IDE_REVISION_URL_STR, we now expect IDE_REVISION_URL_STR to be a plain URL. Reason is that passing a string containing "%1" from CMake to the VersionDialog caused a premature replacement of that placeholder somewhere on the way. Also log the CMake configure call in build_cmake.yml Change-Id: I4c1a946c66f891101576e3556ca87a004cead950 Reviewed-by: Eike Ziller <eike.ziller@qt.io>
Diffstat (limited to '.github/workflows/build_cmake.yml')
-rw-r--r--.github/workflows/build_cmake.yml2
1 files changed, 2 insertions, 0 deletions
diff --git a/.github/workflows/build_cmake.yml b/.github/workflows/build_cmake.yml
index 7c86492849..1d2eeb5809 100644
--- a/.github/workflows/build_cmake.yml
+++ b/.github/workflows/build_cmake.yml
@@ -292,7 +292,9 @@ jobs:
-D WITH_TESTS=ON
-D IDE_REVISION=TRUE
-D IDE_REVISION_STR=$ENV{GITHUB_SHA}
+ -D IDE_REVISION_URL_STR=https://github.com/$ENV{GITHUB_REPOSITORY}/commits/$ENV{GITHUB_SHA}
RESULT_VARIABLE result
+ COMMAND_ECHO STDOUT
)
if (NOT result EQUAL 0)
message(FATAL_ERROR "Bad exit status")