From b35596e740e53967e4f4b95815b5876d4cf4bb9d Mon Sep 17 00:00:00 2001 From: Nikhil Devanathan Date: Mon, 9 Sep 2024 15:16:43 -0700 Subject: [PATCH] modifting ci/cd actions --- .github/workflows/poetry-cd.yml | 2 ++ .github/workflows/poetry-ci.yml | 2 ++ 2 files changed, 4 insertions(+) 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