updating workflows
This commit is contained in:
@@ -21,6 +21,6 @@ jobs:
|
|||||||
echo "$HOME/.cargo/bin" >> $GITHUB_PATH
|
echo "$HOME/.cargo/bin" >> $GITHUB_PATH
|
||||||
- name: Install build dependencies
|
- name: Install build dependencies
|
||||||
run: |
|
run: |
|
||||||
uv pip install build
|
uv pip install build ".[torch,flax]"
|
||||||
- name: Build package
|
- name: Build package
|
||||||
run: python -m build
|
run: python -m build
|
||||||
@@ -16,9 +16,9 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
curl -LsSf https://astral.sh/uv/install.sh | sh
|
curl -LsSf https://astral.sh/uv/install.sh | sh
|
||||||
echo "$HOME/.cargo/bin" >> $GITHUB_PATH
|
echo "$HOME/.cargo/bin" >> $GITHUB_PATH
|
||||||
- name: Install Poetry
|
- name: Install Poetry and dependencies
|
||||||
run: |
|
run: |
|
||||||
uv pip install poetry
|
uv pip install poetry ".[torch,flax]"
|
||||||
- name: Build and Publish to PyPI
|
- name: Build and Publish to PyPI
|
||||||
run: |
|
run: |
|
||||||
poetry config pypi-token.pypi ${{ secrets.PYPI_API_TOKEN }}
|
poetry config pypi-token.pypi ${{ secrets.PYPI_API_TOKEN }}
|
||||||
|
|||||||
Reference in New Issue
Block a user