From 3f52d3ceaa0c89af2558c355b4ec1a6edcf077af Mon Sep 17 00:00:00 2001 From: PROJECT-DEFIANT Date: Sun, 4 Aug 2024 13:10:20 +0200 Subject: [PATCH] fix: attempt to repair release process --- .github/workflows/release.yaml | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) 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