eclipse-volttron / volttron-openadr-ven

Apache License 2.0
5 stars 5 forks source link

Add publish, create release workflow; update test-pr workflow #30

Closed bonicim closed 2 years ago

bonicim commented 2 years ago

Changes

NOTE: In order to successfully publish to PyPi, a PyPI API Token created by the Volttron PyPI account needs to be created and added as an environmental variable in the 'secrets' of this repo. The environmental variable must be named 'PYPI_TOKEN' so that the 'publish-to-pypi.yml' workflow can successfully publish to PyPi. @craig8 Can you please add the API token to this repo? I don't have permissions to do so.

Testing

I have tested these workflows using my personal Github account:

See Workflow actions results:

test-pr.yml create-release.yml publish-to-pypi.yml

Screenshot on PyPi (don't worry, I already deleted my project so that namespace is now open to Volttron to use):

Screen Shot 2022-01-20 at 1 55 34 PM