PyO3 / maturin-action

GitHub Action to install and run a custom maturin command with built-in support for cross compilation
MIT License
132 stars 37 forks source link

Maturin generated CI not pushing binaries to PyPI #279

Closed shner-elmo closed 4 months ago

shner-elmo commented 4 months ago

Hey, I have a project that uses PyO3, and I used the command maturin generate-ci to create the GH actions workflow. It had worked in the past, but for some reason the last step of the workflow fails silently, there is no error message so I'm not sure what to do.

This is the workflow: https://github.com/shner-elmo/flashtext2/actions/runs/9792664428/workflow

haixuanTao commented 4 months ago

Have you used a tag?

See: https://github.com/shner-elmo/flashtext2/actions/runs/9792664428/workflow#L104

messense commented 4 months ago

You have modified the generated workflow: https://github.com/shner-elmo/flashtext2/commit/0f4e1db7176874af40bf9395ed6e753f8a1fca4d so it should work now, but IMO you should use tag push instead because PyPI doesn't allow duplicate uploads of same version.