yml file changes
This commit is contained in:
@@ -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/*
|
||||||
Reference in New Issue
Block a user