calculix / ccx2paraview

CalculiX to Paraview converter (frd to vtk/vtu). Makes possible to view and postprocess CalculiX analysis results in Paraview. Generates Mises and Principal components for stress and strain tensors.
GNU General Public License v3.0
91 stars 18 forks source link

Add PyPi publishing workflow #38

Closed fsimonis closed 1 month ago

fsimonis commented 5 months ago

This PR adds a workflow that automatically publishes pushed tags v* to PyPi.

[!IMPORTANT] You need to generate a PyPi token and add it as a secret called PYPI_TOKEN to the repo or organisation. If you add it to the org, make sure to expose it to this repo.

After that, creating and pushing a new tag will release the current state.

imirzov commented 5 months ago

Dear Frederic, I've added you as a maintainer to this repo. Please, could you generate PYPI_TOKEN by yourself? I'm slightly busy those weeks. Let me know, if you need more permissions.

fsimonis commented 5 months ago

Hi there, generating and setting up the token also requires access to PyPi, its 2FA etc. I gladly leave this to you for whenever you have time. :+1:

imirzov commented 1 month ago

PyPi token added to the repository.

fsimonis commented 1 month ago

Pushing a new tag should autopush the new package now.