Skip to content

Commit eaa59e3

Browse files
committed
.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.
1 parent 9f3296b commit eaa59e3

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

.github/workflows/release.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,11 @@ jobs:
2222
python -m pip install --upgrade pip
2323
pip install build
2424
- name: Create source and wheel dist
25+
# (2024-12-11, s-heppner)
26+
# The PyPI Action expects the dist files in a toplevel `/dist` directory,
27+
# so we have to specify this as output directory here.
2528
run: |
26-
python -m build
29+
python -m build --outdir ../dist
2730
- name: Publish distribution to PyPI
2831
uses: pypa/gh-action-pypi-publish@release/v1
2932
with:

0 commit comments

Comments
 (0)