From 0f78e36e1cc2993d212342ea762823549d6603b1 Mon Sep 17 00:00:00 2001 From: Yuri Sizov Date: Tue, 13 Jul 2021 19:52:27 +0300 Subject: [PATCH] Check if there are new docs missing on CI --- .github/workflows/linux_builds.yml | 2 +- servers/rendering/rendering_device_binds.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/linux_builds.yml b/.github/workflows/linux_builds.yml index ace1ce3fec0..1b68f66956c 100644 --- a/.github/workflows/linux_builds.yml +++ b/.github/workflows/linux_builds.yml @@ -85,7 +85,7 @@ jobs: echo "Running --doctool to see if this changes the public API without updating the documentation." echo -e "If a diff is shown, it means that your code/doc changes are incomplete and you should update the class reference with --doctool.\n\n" VK_ICD_FILENAMES=$(pwd)/vk_swiftshader_icd.json DRI_PRIME=0 xvfb-run bin/godot.linuxbsd.opt.tools.64 --doctool . 2>&1 > /dev/null || true - git diff --color --exit-code + git diff --color --exit-code && ! git ls-files --others --exclude-standard | sed -e 's/^/New doc file missing in PR: /' | grep 'xml$' - uses: actions/upload-artifact@v2 with: diff --git a/servers/rendering/rendering_device_binds.h b/servers/rendering/rendering_device_binds.h index 1af427b3560..4c31880faf3 100644 --- a/servers/rendering/rendering_device_binds.h +++ b/servers/rendering/rendering_device_binds.h @@ -458,7 +458,7 @@ class RDPipelineSpecializationConstant : public RefCounted { friend class RenderingDevice; Variant value = false; - uint32_t constant_id; + uint32_t constant_id = 0; public: void set_value(const Variant &p_value) {