We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1715aa6 commit 87a113cCopy full SHA for 87a113c
.github/workflows/on-push-verification-in-tree.yml
@@ -42,7 +42,7 @@ jobs:
42
BRANCH="${{ github.base_ref }}" # on: pull_request, otherwise null
43
BRANCH=${BRANCH:-${{ github.ref_name }}} # on: push
44
# Extract the padded LLVM version (e.g., 190 for LLVM 19)
45
- LLVM_VERSION_PADDED=$(echo $BRANCH | grep -oP 'ocl-open-\K\d+')
+ LLVM_VERSION_PADDED=$(echo "$BRANCH" | sed -n 's/^ocl-open-\([0-9]\+\)$/\1/p')
46
if [ -z "$LLVM_VERSION_PADDED" ]; then
47
echo "[OPENCL-CLANG] Error: Could not parse LLVM version from branch name '$BRANCH'"
48
exit 1
0 commit comments