{"repo":"gacts/run-and-post-run","free":true,"listed":false,"github":"https://github.com/gacts/run-and-post-run","clone":"git clone https://github.com/gacts/run-and-post-run.git","description":"🚀 A simple GitHub action that allows you to execute commands on place and in post-run, once a workflow job has ended.","language":"JavaScript","stars":41,"topics":["actions","defer","github-actions"],"license":"MIT","category":"workflow-automation","readme_excerpt":"Run and post run Action ![Release version][badge release version] [![Build Status][badge build]][link build] [![License][badge license]][link license] A simple GitHub action that allows you to execute commands on place and in post-run, once a workflow job has ended. [Linked GitHub issue][community issue]. Usage This above configuration will produce the following: More examples can be found in the tests. Customizing Inputs The following inputs can be used as step.with keys: Name Type Default Required Description --------------------- :------------------: :-------: :--------: ---------------------------------------------------------------------------- run string or list no A commands that needs to be run in place post string or list yes A commands that needs to be run once a workflow job has ended working-directory string no A working directory from which the command needs to be run shell string bash no A shell to use for executing run commands post-shell string no A shell to use for executing post commands. Defaults to value of shell Releasing To release a new version: - Build the action distribution ( make build or npm run build ). - Commit and push changes (including dist directory changes - this is important) to the master main branch. - Publish the new release using the repo releases page (the git tag should follow the vX.Y.Z format). Major and minor git tags ( v1 and v1.2 if you publish a v1.2.Z release) will be updated automatically. [!TIP] Use Dependabot to keep this ac","default_branch":null,"files":null,"tree":[],"storefront":"/r/gacts","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/gacts/run-and-post-run/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}