Runs the specified main command and as the job is completing the post command.
See action.yml
- uses: reconcilerio/post-step-action@v1
with:
# Required main.
# Command to run normally.
main: ''
# Required post.
# Command to run before the job completes.
post: ''Basic:
steps:
- uses: reconcilerio/post-step-action@v1
main: echo "runs normally"
post: echo "runs before job completes"The reconciler.io projects follow the Contributor Covenant Code of Conduct. In short, be kind and treat others with respect.
General discussion and questions about the project can occur either on the Kubernetes Slack #reconcilerio channel, or in the project's GitHub discussions. Use the channel you find most comfortable.
The reconciler.io project team welcomes contributions from the community. A contributor license agreement (CLA) is not required. You own full rights to your contribution and agree to license the work to the community under the Apache License v2.0, via a Developer Certificate of Origin (DCO). For more detailed information, refer to CONTRIBUTING.md.
From Nyoman Abiwinanda's [GitHub Action: Adding Post Steps in Composite Actions]](https://dev.to/abiwinanda/github-action-adding-post-steps-in-composite-actions-5ak3). Vendored here to ensure provenance, and use in published actions.
Apache License v2.0: see LICENSE for details.