Skip to content
This repository was archived by the owner on Jun 5, 2025. It is now read-only.

Fix import packages #466

Merged
merged 3 commits into from
Dec 29, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 4 additions & 3 deletions .github/workflows/import_packages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,22 +60,23 @@ jobs:
- name: Install Poetry
run: |
curl -sSL https://install.python-poetry.org | python3 -

- name: Add Poetry to PATH
run: |
echo "source $HOME/.poetry/env" >> $GITHUB_ENV
echo "PATH=$HOME/.poetry/bin:$PATH" >> $GITHUB_ENV

- name: Install dependencies with Poetry
run: |
poetry install

- name: 'Run import_packages.py with poetry'
run: |
poetry run python scripts/import_packages.py --jsonl-dir /tmp --vec-db-path /tmp/sqlite_data/vectordb.db
poetry run python scripts/import_packages.py --jsonl-dir /tmp/jsonl-files --db-path /tmp/sqlite_data/vectordb.db

- name: 'Upload SQLite Vector DB File'
uses: actions/upload-artifact@6f51ac03b9356f520e9adb1b1b7802705f340c2b # v4
with:
name: sqlite_vectordb_file
path: /tmp/sqlite_data/vectordb.db
retention-days: 90

Loading