187 Release action#240
Conversation
|
|
|
@johnhooks right now I'm thinking that on tag, we should checkout the code, build, remove certain folders (e.g. node_modules, .github), and then zip. Then create a new release and attach using https://github.com/softprops/action-gh-release |
|
Sounds like a solid plan to me. I'm working on a WordPress Playground, it could be redeployed in this same workflow. Aside: It will be nice to have |
johnhooks
left a comment
There was a problem hiding this comment.
@Sephsekla This looks great.
Is the PHP environment setup required to properly build the release? As far as I can tell it isn't, but wanted to double check.
At the moment we only use composer for devDependencies and testing, so it shouldn't be necessary for release. That might change in future though, we'll need to keep an eye out. |
What?
Create a GitHub action to create a release for a tag, and upload asset files.
Why?
Resolves #187
How?
This PR creates a new GitHub workflow, which will run when a tag is created:
Testing Instructions
Screenshots or screencast