diff --git a/.github/workflows/manual_publish.yml b/.github/workflows/manual_publish.yml index 0d17a4b..3cd30e9 100644 --- a/.github/workflows/manual_publish.yml +++ b/.github/workflows/manual_publish.yml @@ -18,10 +18,12 @@ jobs: echo "$HOME/.cargo/bin" >> $GITHUB_PATH - name: Create virtual environment run: uv venv - - name: Install Poetry and dependencies - run: | - uv pip install poetry ".[torch,flax]" - - name: Build and Publish to PyPI - run: | - poetry config pypi-token.pypi ${{ secrets.PYPI_API_TOKEN }} - poetry publish --build + - name: Install build dependencies + run: uv pip install build twine + - name: Build package + run: uv run python -m build + - name: Publish to PyPI + env: + TWINE_USERNAME: __token__ + TWINE_PASSWORD: ${{ secrets.PYPI_API_TOKEN }} + run: uv run twine upload dist/* \ No newline at end of file