Commit b1c07f0
committed
fix(ci): build PyPI artifacts in pypi-dist/ to avoid dist/scripts collision
The pypa/gh-action-pypi-publish action uploads everything in its
packages-dir, but dist/scripts/ already exists in the repo as the
location of helper scripts referenced by setup.py. Twine's metadata
check rejected dist/scripts as an unknown distribution format and the
publish step failed before uploading anything.
Build sdist/wheel into pypi-dist/ instead and point the action there.
Signed-off-by: Gabriel Harris-Rouquette <gabizou@me.com>1 parent e303c99 commit b1c07f0
1 file changed
Lines changed: 3 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
65 | 65 | | |
66 | 66 | | |
67 | 67 | | |
68 | | - | |
| 68 | + | |
69 | 69 | | |
70 | 70 | | |
| 71 | + | |
| 72 | + | |
71 | 73 | | |
72 | 74 | | |
73 | 75 | | |
| |||
0 commit comments