fastapi-mqtt
fastapi-mqtt copied to clipboard
🚨 Fix GH Action for pypi publish
cc @sabuhish
pypi.org has changed their security police 🚨, and using --username ${{ secrets.PYPI_USERNAME }} --password ${{ secrets.PYPI_PASSWORD }}
is not valid anymore -> https://github.com/sabuhish/fastapi-mqtt/actions/runs/7396082004/job/20120516144
HTTP Error 403: Username/Password authentication is no longer supported. Migrate to API Tokens or Trusted Publishers instead. See https://pypi.org/help/#apitoken and https://pypi.org/help/#trusted-publishers Access was denied to this resource.
Publish action needs to change, but also the account configuration in pypi.org ⚠️