From 036ff0af2cb6f02e20cef53b5a8247f23e2e14c4 Mon Sep 17 00:00:00 2001 From: s-heppner Date: Wed, 11 Dec 2024 09:21:09 +0100 Subject: [PATCH] .github/workflows: Fix dist path in release.yml During the release process, the distribution files are currently built in the `sdk/dist/` directory, however the PyPI action expects them in the top- level `dist` directory. Therefore we adapt the build path in the workflow. --- .github/workflows/release.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 54562461..15b22ea2 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -22,8 +22,11 @@ jobs: python -m pip install --upgrade pip pip install build - name: Create source and wheel dist + # (2024-12-11, s-heppner) + # The PyPI Action expects the dist files in a toplevel `/dist` directory, + # so we have to specify this as output directory here. run: | - python -m build + python -m build --outdir ../dist - name: Publish distribution to PyPI uses: pypa/gh-action-pypi-publish@release/v1 with: