diff --git a/.github/workflows/poetry-cd.yml b/.github/workflows/poetry-cd.yml index ae0c995..df8fdd2 100644 --- a/.github/workflows/poetry-cd.yml +++ b/.github/workflows/poetry-cd.yml @@ -14,6 +14,8 @@ jobs: run: curl -sSL https://install.python-poetry.org | python3 - - name: Add Poetry to path run: echo "${HOME}/.poetry/bin" >> $GITHUB_PATH + - run: poetry self add "poetry-dynamic-versioning[plugin]" + - run: poetry dynamic-versioning enable - run: poetry install - run: poetry run pytest - run: poetry config pypi-token.pypi "${{ secrets.PYPI_API_KEY }}" diff --git a/.github/workflows/poetry-ci.yml b/.github/workflows/poetry-ci.yml index 9cac710..df9c2df 100644 --- a/.github/workflows/poetry-ci.yml +++ b/.github/workflows/poetry-ci.yml @@ -11,6 +11,8 @@ jobs: run: curl -sSL https://install.python-poetry.org | python3 - - name: Add Poetry to path run: echo "${HOME}/.poetry/bin" >> $GITHUB_PATH + - run: poetry self add "poetry-dynamic-versioning[plugin]" + - run: poetry dynamic-versioning enable - name: Install venv run: poetry install - name: Test