-
Notifications
You must be signed in to change notification settings - Fork 27
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix PyPI upload #407
Fix PyPI upload #407
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for fixing so promptly.
Happy for you to merge if you think it fixes the issue.
with: | ||
path: artifact/ | ||
name: release | ||
path: dist |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I noticed these didn't match, but just assumed this was correct. I guess it wasn't?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah. The strange thing is that I haven't touched these...
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Best guess is it had to do with the version change of the pypi-publish action
Sorry forgot one thing. Just tested publishing to TestPyPI from my fork and these changes fixed the issue. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to merge.
The PyPI upload stopped working after #403 was merged. I can't say I understand why as #403 didn't touch the workflow steps that are causing the problem... Regardless, this PR should fix things.
The update to
actions/upload-artifact@v4
(fromv3
) is not necessary to fix the issue, but good to do anyway.Closes #398 (again)