diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 4eb48b992..066fe3e89 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -73,11 +73,18 @@ jobs: permissions: id-token: write # IMPORTANT: mandatory for trusted publishing steps: - - name: Download all the dists - uses: actions/download-artifact@v4 + - name: Install and configure Poetry + uses: snok/install-poetry@v1 with: - name: python-package-distributions - path: dist/ + virtualenvs-create: true + virtualenvs-in-project: true + installer-parallel: true + - name: checkout on v1.7.0 + uses: actions/checkout@v4 + with: + ref: v1.7.0 + - name: build + run: poetry build - name: Publish distribution 📦 to PyPI uses: pypa/gh-action-pypi-publish@release/v1