Skip to content

Commit

Permalink
Merge pull request #4 from vana-com/poetry-publish
Browse files Browse the repository at this point in the history
Poetry publish
  • Loading branch information
volod-vana authored May 30, 2024
2 parents adf7efd + a0b3a96 commit 5485fb8
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 7 deletions.
15 changes: 8 additions & 7 deletions .github/workflows/publish_to_pypi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,16 +17,17 @@ jobs:
with:
python-version: '3.x'

- name: Install dependencies
- name: Install Poetry
run: |
python -m pip install --upgrade pip
pip install setuptools wheel twine
pip install poetry
- name: Build package
run: python setup.py sdist bdist_wheel
run: |
poetry build
- name: Publish to PyPI
uses: pypa/gh-action-pypi-publish@master
with:
user: __token__
password: ${{ secrets.PYPI_API_TOKEN }}
env:
POETRY_PYPI_TOKEN_PYPI: ${{ secrets.PYPI_API_TOKEN }}
run: |
poetry publish
1 change: 1 addition & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ version = "0.1.0"
description = ""
authors = ["Tim Nunamaker <[email protected]>", "Volodymyr Isai <[email protected]>", "Kahtaf Alam <[email protected]>"]
readme = "README.md"
repository = "https://github.com/vana-com/vana-framework"

[tool.poetry.dependencies]
python = ">=3.11,<3.13"
Expand Down

0 comments on commit 5485fb8

Please sign in to comment.