Skip to content

Open Source alternative to Algolia + Pinecone and an Easier-to-Use alternative to ElasticSearch ⚡ 🔍 ✨ Fast, typo tolerant, in-memory fuzzy Search Engine for building delightful search experiences

Don't error out if bazel cache is not found

Jason Bosco996224ee910f
diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml
index b660aea7..c197735d 100644
--- a/.github/workflows/tests.yml
+++ b/.github/workflows/tests.yml
@@ -53,12 +53,16 @@ jobs:
- name: Uncompress bazel cache
run: |
- unzip bazel-cache.zip
- mkdir -p ~/.cache/bazel
- tar_file="bazel-cache.tar.gz" && \
+ if [ -f "bazel-cache.zip" ]; then
+ unzip bazel-cache.zip
+ mkdir -p ~/.cache/bazel
+ tar_file="bazel-cache.tar.gz" && \
[ -f "$tar_file" ] && \
tar -xzvf "$tar_file" -C ~/.cache/bazel && \
rm bazel-cache.tar.gz
+ else
+ echo "bazel-cache.zip does not exist. Continuing..."
+ fi
exit 0
- name: Build protobuf deps