Skip to content
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

Merged
merged 2 commits into from
Jan 22, 2024
Merged

Conversation

dougiesquire
Copy link
Collaborator

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 (from v3) is not necessary to fix the issue, but good to do anyway.

Closes #398 (again)

aidanheerdegen
aidanheerdegen previously approved these changes Jan 22, 2024
Copy link
Collaborator

@aidanheerdegen aidanheerdegen left a 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
Copy link
Collaborator

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?

Copy link
Collaborator Author

@dougiesquire dougiesquire Jan 22, 2024

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...

Copy link
Collaborator Author

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

@dougiesquire
Copy link
Collaborator Author

Sorry forgot one thing. Just tested publishing to TestPyPI from my fork and these changes fixed the issue.

Copy link
Collaborator

@aidanheerdegen aidanheerdegen left a 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.

@dougiesquire dougiesquire merged commit 36294ff into payu-org:master Jan 22, 2024
6 checks passed
@dougiesquire dougiesquire deleted the issue-398-hotfix branch January 22, 2024 11:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Update packaging tools and logic
2 participants