From d0848ab22d007fa54605480c301cfdc5ab6386e3 Mon Sep 17 00:00:00 2001 From: Jay Kwak <82421531+jkwak-work@users.noreply.github.com> Date: Wed, 6 Aug 2025 22:23:30 -0700 Subject: Run extras/verify-documented-compiler-version.sh only when built (#8097) The script, `extras/verify-documented-compiler-version.sh`, depends on CMakeCache.txt, which gets built as a part of the slang build step. But if the PR is just a document changes, the build step will be skipped. And the script will print a warning that CMakeCache.txt is not found. The script should run only when Slang was built. You can see the current warning here, https://github.com/shader-slang/slang/actions/runs/16788651517/job/47545476533#step:12:5 Co-authored-by: Ellie Hermaszewska --- .github/workflows/ci.yml | 1 + 1 file changed, 1 insertion(+) (limited to '.github/workflows/ci.yml') diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index ac7c8300a..eb88df01b 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -216,6 +216,7 @@ jobs: fi - name: Check documented compiler versions + if: steps.filter.outputs.should-run == 'true' run: bash extras/verify-documented-compiler-version.sh - name: Test Slang -- cgit v1.2.3