CWorthy-ocean / roms-tools

Tools for setting up and running ROMS simulations
https://roms-tools.readthedocs.io
GNU General Public License v3.0
7 stars 3 forks source link

Automatically upload and publish to PyPI #5

Closed TomNicholas closed 7 months ago

TomNicholas commented 7 months ago

Set this repository up so that all we have to do is hit the release button and a new version of the package will be automatically created and uploaded to the Python Packaging Index, so that users can install it just by typing pip install roms_tools.

TomNicholas commented 7 months ago

I tried this but it's automatically skipping, not sure why

https://github.com/CWorthy-ocean/roms-tools/actions/runs/7024454526

TomNicholas commented 7 months ago

After correcting mistakes in the workflow file, and adding an API token to pypi, this now seems to work. For reasons I don't understand adding this repository as a Trusted Publisher on PyPI didn't work.