Skip to content

armgit / LEANN

Public Imported from GitHub
0

[MLsys2026 Best Paper]: https://arxiv.org/abs/2506.08276. RAG on Everything with LEANN. Enjoy 97% storage savings while running a fast, accurate, and 100% private RAG application on your personal device.

fix: pure Python packages not building due to ubuntu-latest check

Andy Lee35310ddd52a7
diff --git a/.github/workflows/build-reusable.yml b/.github/workflows/build-reusable.yml
index dd389cb..6220c30 100644
--- a/.github/workflows/build-reusable.yml
+++ b/.github/workflows/build-reusable.yml
@@ -82,7 +82,7 @@ jobs:
- name: Build packages
run: |
# Build core (platform independent)
- if [ "${{ matrix.os }}" == "ubuntu-latest" ]; then
+ if [[ "${{ matrix.os }}" == ubuntu-* ]]; then
cd packages/leann-core
uv build
cd ../..
@@ -107,7 +107,7 @@ jobs:
cd ../..
# Build meta package (platform independent)
- if [ "${{ matrix.os }}" == "ubuntu-latest" ]; then
+ if [[ "${{ matrix.os }}" == ubuntu-* ]]; then
cd packages/leann
uv build
cd ../..