Skip to content

Commit 20867f2

Browse files
authored
Merge pull request #466 from stacklok/fix-import-packages
Fix import packages
2 parents e16ed92 + 5520aba commit 20867f2

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

Diff for: .github/workflows/import_packages.yml

+4-3
Original file line numberDiff line numberDiff line change
@@ -60,22 +60,23 @@ jobs:
6060
- name: Install Poetry
6161
run: |
6262
curl -sSL https://install.python-poetry.org | python3 -
63-
63+
6464
- name: Add Poetry to PATH
6565
run: |
66-
echo "source $HOME/.poetry/env" >> $GITHUB_ENV
66+
echo "PATH=$HOME/.poetry/bin:$PATH" >> $GITHUB_ENV
6767
6868
- name: Install dependencies with Poetry
6969
run: |
7070
poetry install
7171
7272
- name: 'Run import_packages.py with poetry'
7373
run: |
74-
poetry run python scripts/import_packages.py --jsonl-dir /tmp --vec-db-path /tmp/sqlite_data/vectordb.db
74+
poetry run python scripts/import_packages.py --jsonl-dir /tmp/jsonl-files --db-path /tmp/sqlite_data/vectordb.db
7575
7676
- name: 'Upload SQLite Vector DB File'
7777
uses: actions/upload-artifact@6f51ac03b9356f520e9adb1b1b7802705f340c2b # v4
7878
with:
7979
name: sqlite_vectordb_file
8080
path: /tmp/sqlite_data/vectordb.db
8181
retention-days: 90
82+

0 commit comments

Comments
 (0)