diff --git a/.github/workflows/releases.yml b/.github/workflows/releases.yml index c76a083..fa66330 100644 --- a/.github/workflows/releases.yml +++ b/.github/workflows/releases.yml @@ -16,14 +16,12 @@ jobs: uses: actions/setup-python@v2 with: python-version: '3.9' + - name: Install Poetry + uses: snok/install-poetry@v1 + with: + version: 1.1.13 - name: Install dependencies run: | - python -m pip install pipx - python -m pipx ensurepath - python -m pipx install poetry - # Force update PATH to include pipx executables - export PATH=$PATH:/root/.local/bin - # Create virtual environment and install dependencies poetry env use python poetry install --no-root - name: Build package @@ -32,4 +30,4 @@ jobs: uses: pypa/gh-action-pypi-publish@release/v1 with: user: __token__ - password: ${{ secrets.PYPI_API_TOKEN_PROD }} + password: ${{ secrets.PYPI_API_TOKEN_PROD }} \ No newline at end of file diff --git a/pyproject.toml b/pyproject.toml index eb42347..6b7043d 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -15,6 +15,7 @@ keywords = [ license = "Apache 2.0" homepage = "https://github.com/Widen/tap-rest-api-msdk" repository = "https://github.com/Widen/tap-rest-api-msdk" +readme = "README.md" [tool.poetry.dependencies] python = "<3.10,>=3.6.2"