diff --git a/.github/workflows/cd.yml b/.github/workflows/cd.yml index 0a38be6..483278d 100644 --- a/.github/workflows/cd.yml +++ b/.github/workflows/cd.yml @@ -8,10 +8,18 @@ jobs: deploy: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 - - uses: actions/setup-python@v2 + - uses: actions/checkout@v3 + - name: Set up Python + uses: actions/setup-python@v3 + with: + python-version: '3.9' + - name: Install dependencies + run: | + python -m pip install --upgrade pip + pip install build + - name: Build package + run: python -m build - name: Build and publish to pypi - uses: JRubics/poetry-publish@v1.17 + uses: pypa/gh-action-pypi-publish@release/v1 with: - pypi_token: ${{ secrets.PROD_PYPI}} - plugins: "poetry-dynamic-versioning[plugin]" + password: ${{ secrets.PROD_PYPI}}