This commit is contained in:
Dulmandakh 2024-07-05 23:37:27 +08:00
parent ef7e7a1c4c
commit c08c3c15f3

View File

@ -11,14 +11,15 @@ jobs:
steps: steps:
- uses: actions/checkout@v4 - uses: actions/checkout@v4
- name: Install poetry
run: pipx install poetry
- name: Set up Python 3.10 - name: Set up Python 3.10
uses: actions/setup-python@v5 uses: actions/setup-python@v5
with: with:
python-version: "3.10" python-version: "3.10"
cache: 'poetry'
- name: Build wheel and source tarball - name: Build wheel and source tarball
run: | run: poetry build
pip install build
python -m build
- name: Publish a Python distribution to PyPI - name: Publish a Python distribution to PyPI
uses: pypa/gh-action-pypi-publish@v1.1.0 uses: pypa/gh-action-pypi-publish@v1.1.0
with: with: