mxenabled / mx-platform-ruby

A Ruby library for the MX Platform API
MIT License
2 stars 0 forks source link

Autogenerate library #78

Closed mcoats13 closed 1 year ago

mcoats13 commented 1 year ago

Ref: https://github.com/mxenabled/openapi/pull/103

Created a repository_dispatch event workflow that will be used to generate, publish, and release the mx-platform-ruby library.

The workflow will accept a request from the openapi repo where the body of the request includes the version bump (major, minor, patch). This will allow us to generate and publish a new version of library when changes are made to the openapi spec.

mcoats13 commented 1 year ago

Do you know what'll happen in the (hopefully unlikely) event the publication to rubygems fails?

I believe that portion of the pipeline will fail and the rest of the workflow will stop running. I left the other "manual" actions in repo in case there are instances where something like that fails, and we can then kick it off manually.