Merge pull request #20 from HideyoshiNakazone/develop

Fixes Versioning
This commit is contained in:
2024-06-24 02:42:54 -03:00
committed by GitHub
2 changed files with 12 additions and 0 deletions

View File

@@ -18,6 +18,8 @@ jobs:
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Set up Python 3.10
uses: actions/setup-python@v3
with:
@@ -27,6 +29,10 @@ jobs:
python -m pip install --upgrade pip poetry
poetry self add "poetry-dynamic-versioning[plugin]"
if [ -f pyproject.toml ]; then poetry install; fi
- name: Configure PyPI
run: |
poetry config repositories.test-pypi https://test.pypi.org/legacy/
poetry config pypi-token.test-pypi ${{secrets.PYPI_TEST_TOKEN}}
- name: Build Python Package
run: |
poetry build -f sdist

View File

@@ -18,6 +18,8 @@ jobs:
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Set up Python 3.10
uses: actions/setup-python@v3
with:
@@ -27,6 +29,10 @@ jobs:
python -m pip install --upgrade pip poetry
poetry self add "poetry-dynamic-versioning[plugin]"
if [ -f pyproject.toml ]; then poetry install; fi
- name: Configure PyPI
run: |
poetry config repositories.test-pypi https://test.pypi.org/legacy/
poetry config pypi-token.test-pypi ${{secrets.PYPI_TOKEN}}
- name: Build Python Package
run: |
poetry build -f sdist