Unidata / python-awips

A framework for querying AWIPS meteorological datasets from an EDEX Data Server.
http://unidata.github.io/python-awips/
Other
45 stars 23 forks source link

Update release workflow #92

Open dopplershift opened 1 year ago

dopplershift commented 1 year ago

PyPI's new trusted publisher support allows configuring, on the PyPI project, a specific GitHub Actions workflow and (optionally environment--like your "pypi" environment) that is permitted to publish to PyPI. Using existing publication action you're using from PyPA, GitHub and PyPI will automatically exchange the needed (short-lived) tokens to permit the publication. This eliminates having a persistent, shared secret that is associated with a particular user account, and instead everything uses short-lived tokens and configuration that is done at the project infrastructure level.

If you're happy proceeding this way, the additional steps with this PR are:

dopplershift commented 1 year ago

I can confirm this workflow worked without any problems for the most recent MetPy release.