Skip to content

Commit 391a3f7

Browse files
wenju-heCopilot
andauthored
Apply suggestion from @Copilot
Co-authored-by: Copilot <[email protected]>
1 parent 614b1a0 commit 391a3f7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/on-push-verification-in-tree.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ jobs:
4141
run: |
4242
BRANCH="${{ github.base_ref }}" # on: pull_request, otherwise null
4343
BRANCH=${BRANCH:-${{ github.ref_name }}} # on: push
44-
LLVM_VERSION_LONG=$(echo $BRANCH | grep -oP '\d+') # Eg. 190 for LLVM 19
44+
LLVM_VERSION_LONG=$(echo $BRANCH | grep -oP 'ocl-open-\K\d+') # Eg. 190 for LLVM 19
4545
LLVM_VERSION_SHORT=${LLVM_VERSION_LONG::-1} # Eg. 19 for LLVM 19
4646
echo "llvm_version=$LLVM_VERSION_SHORT" >> $GITHUB_OUTPUT
4747

0 commit comments

Comments
 (0)