yml file changes

This commit is contained in:
Rajat Sen
2025-10-08 00:19:55 +00:00
parent c172faf5eb
commit 604ad59067
+9 -7
View File
@@ -18,10 +18,12 @@ jobs:
echo "$HOME/.cargo/bin" >> $GITHUB_PATH echo "$HOME/.cargo/bin" >> $GITHUB_PATH
- name: Create virtual environment - name: Create virtual environment
run: uv venv run: uv venv
- name: Install Poetry and dependencies - name: Install build dependencies
run: | run: uv pip install build twine
uv pip install poetry ".[torch,flax]" - name: Build package
- name: Build and Publish to PyPI run: uv run python -m build
run: | - name: Publish to PyPI
poetry config pypi-token.pypi ${{ secrets.PYPI_API_TOKEN }} env:
poetry publish --build TWINE_USERNAME: __token__
TWINE_PASSWORD: ${{ secrets.PYPI_API_TOKEN }}
run: uv run twine upload dist/*