Skip to content

Commit e3fa4ef

Browse files
chore: Adding exceptiong handling to build_wheels and additional logging
Signed-off-by: Francisco Javier Arceo <farceo@redhat.com>
1 parent 3a2a9b0 commit e3fa4ef

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

.github/workflows/build_wheels.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -206,11 +206,15 @@ jobs:
206206
# Validate that the feast version installed is not development and is the correct version of the tag we ran it off of.
207207
- name: Validate Feast Version
208208
run: |
209+
if ! VERSION_OUTPUT=$(feast version); then
210+
echo "Error: Failed to get Feast version."
211+
exit 1
212+
fi
209213
VERSION_REGEX='[0-9]+\.[0-9]+\.[0-9]+'
210214
OUTPUT_REGEX='^Feast SDK Version: "$VERSION_REGEX"$'
211-
VERSION_OUTPUT=$(feast version)
212215
VERSION=$(echo $VERSION_OUTPUT | grep -oE "$VERSION_REGEX")
213216
OUTPUT=$(echo $VERSION_OUTPUT | grep -E "$REGEX")
217+
echo "Installed Feast Version: $VERSION and using Feast Version: $VERSION_WITHOUT_PREFIX"
214218
if [ -n "$OUTPUT" ] && [ "$VERSION" = "$VERSION_WITHOUT_PREFIX" ]; then
215219
echo "Correct Feast Version Installed"
216220
else

0 commit comments

Comments
 (0)