Conversation
| name: release_ci | ||
|
|
||
| on: | ||
| push: # Runs on push to main branch |
There was a problem hiding this comment.
instead of running this on all push and schedule, it's probably better to run only when a new release is specified:
on:
release:
types: [published]
this would also allow for changes to the version number during dev without accidentally creating a release.
this would also minimize action and minute usages
There was a problem hiding this comment.
@lin-ycv thanks for the suggestion. I was assuming the main branch will be protected, and contributors will only raise pull request. Which means, only admins can trigger this workflow.
Also, since the version information is taken from the .csproj file, it would be easier to just update the version number directly from VisualStudio.
If you suggest that it is comfortable to update in all places (Brain.csproj and the GitHub release tag), it can be done. In that case, do you think having a workflow_dispatch is better? (Example Below)

.csprojfile.PostBuildscript to load plugin when building locally.launchSettings.jsonto run_-Grasshoppercommand when builiding locally.