aboutsummaryrefslogtreecommitdiffstats
path: root/.github
diff options
context:
space:
mode:
authorAlessandro Portale <alessandro.portale@qt.io>2020-01-24 22:16:28 +0100
committerAlessandro Portale <alessandro.portale@qt.io>2020-01-26 15:09:26 +0000
commit004614f6db033059a4703383bff25cc91d4fe7e2 (patch)
tree0338fe58a7ad6beb2b99fb13f2c1ace4acdff0df /.github
parent28ce1992172a1d673775086a97b82a8e2ef65ae0 (diff)
GitHub action: Set the current sha as IDE_REVISION_STR
Change-Id: Ib18148c76cf504da8b70541fb472088b3b4f779c Reviewed-by: Cristian Adam <cristian.adam@qt.io>
Diffstat (limited to '.github')
-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 6a46b21010..596fb5c959 100644
--- a/.github/workflows/build_cmake.yml
+++ b/.github/workflows/build_cmake.yml
@@ -290,6 +290,8 @@ jobs:
-D CMAKE_CXX_COMPILER_LAUNCHER=ccache
-D BUILD_WITH_PCH=OFF
-D WITH_TESTS=ON
+ -D IDE_REVISION=TRUE
+ -D IDE_REVISION_STR=$ENV{GITHUB_SHA}
RESULT_VARIABLE result
)
if (NOT result EQUAL 0)