essential-contributions / essential-server

Centralized implementation of the Essential declarative protocol
Apache License 2.0
0 stars 0 forks source link

feat: add publish gh action #175

Closed freesig closed 1 month ago

freesig commented 1 month ago

I'm pretty sure this is correct. It should just dry run on the PR but actually publish when merged to main. Will only publish if there's a bump to the toml version though.

I was thinking about triggering a release if anything is published but I don't know how that would work when only certain crates will publish.

freesig commented 1 month ago

@mitchmindtree can you have a check of this before I add it to all the other repos. I think because the workflow is only triggered on pull request or push to main that setting dry_run = github.event_name != 'push' should achieve that.