summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorpmqs <pmqs@cpan.org>2026-03-10 12:24:32 +0000
committerHans Kristian Rosbach <hk-github@circlestorm.org>2026-03-11 21:45:05 +0100
commitafd74b0e337022f0fbac34ac706a690d9c8560ac (patch)
tree4bf0423cb2845759f7c8b6689669b58d60417c1b
parent94ed7d523a0987e7bb47e9423bb62b09d401806b (diff)
downloadProject-Tick-afd74b0e337022f0fbac34ac706a690d9c8560ac.tar.gz
Project-Tick-afd74b0e337022f0fbac34ac706a690d9c8560ac.zip
Guard against ls-remote failing
-rw-r--r--.github/workflows/cmake.yml4
1 files changed, 4 insertions, 0 deletions
diff --git a/.github/workflows/cmake.yml b/.github/workflows/cmake.yml
index f1aff1ceda..935226ae2b 100644
--- a/.github/workflows/cmake.yml
+++ b/.github/workflows/cmake.yml
@@ -833,6 +833,10 @@ jobs:
id: llvm-remote-hash
run: |
HASH=$(git ls-remote https://github.com/llvm/llvm-project refs/heads/release/20.x | cut -f1)
+ if [ -z "$HASH" ]; then
+ echo "Failed to fetch LLVM remote hash"
+ exit 1
+ fi
echo "value=$HASH" >> $GITHUB_OUTPUT
- name: Cache LLVM C++ libraries (MSAN)