Skip to content

Commit

Permalink
Build Indexify python-sdk using make build in GH Actions
Browse files Browse the repository at this point in the history
Change .github/workflows/publish_indexify_pypi.yaml workflow to
use the same python-sdk build commands as .github/workflows/tests.yaml.

With the addition of protobufs we can't just run `poetry build`
to build python-sdk. We need to use the 'official' and more complex
`make build` command.
  • Loading branch information
eabatalov committed Dec 13, 2024
1 parent 77a0ef9 commit 93f1db8
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/publish_indexify_pypi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -71,9 +71,9 @@ jobs:
with:
python-version: "3.9"
- name: Install Poetry
run: python3 -m pip install poetry --user
- name: Build Packages
run: python3 -m poetry build
run: pipx install poetry
- name: Build python-sdk
run: make build
- name: Publish Indexify Client to PyPI
uses: pypa/gh-action-pypi-publish@release/v1
with:
Expand Down

0 comments on commit 93f1db8

Please sign in to comment.