tableau / document-api-python

Create and modify Tableau workbook and datasource files
https://tableau.github.io/document-api-python/
MIT License
326 stars 178 forks source link

create new publish-to-pypi action #225

Closed jacalata closed 2 years ago

jacalata commented 2 years ago

Uses the pypi github action - https://github.com/pypa/gh-action-pypi-publish - and has a project-specific API token for PyPi but an account-wide token for Test Pypi.

Because this project is pretty simple, it just builds the wheel in the action: other repos like tabcmd will need to be more complex.

This action can be triggered either manually or by creating a release. In either case, if the tag is 'test' then it will only publish to test-pypi.

Not covered: release versions