Skip to content

Commit a6ebbaa

Browse files
author
Xiaochong Wei
committed
Fix
1 parent 64983f0 commit a6ebbaa

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

.github/workflows/prestocpp-worker-with-clp-connector-runtime-image-build.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,8 +47,11 @@ jobs:
4747
if git diff --name-only ${{ github.event.before }} ${{ github.sha }} | grep -q '^presto-native-execution/scripts'; then
4848
dep_changed=true
4949
fi
50+
51+
velox_old_sha=$(git ls-tree ${{ github.event.before }} presto-native-execution/velox | awk '{print $3}')
52+
velox_new_sha=$(git ls-tree ${{ github.sha }} presto-native-execution/velox | awk '{print $3}')
5053
cd presto-native-execution/velox
51-
if git diff --name-only ${{ github.event.before }} ${{ github.sha }} | grep -q '^scripts'; then
54+
if git diff --name-only ${velox_old_sha} ${velox_new_sha} | grep -q '^scripts'; then
5255
dep_changed=true
5356
fi
5457
echo "dep-changed=${dep_changed}" >> $GITHUB_OUTPUT

0 commit comments

Comments
 (0)