Skip to content

No post run capability for composite actions? #26743

Answered by BrightRan
pcolmer asked this question in Actions
Discussion options

You must be logged in to vote

@pcolmer,

Is that correct? Just making sure I’ve correctly interpreted the documentation.

Yes, it is correct. The pre and post option are not available to the composite run steps actions.

Generally, you can think of the composite action as just a combination of some run steps. When you run the a composite action in the workflow, it is functionally equivalent to directly executing the combined run steps in the workflow.

If you want to run some pre or post scripts for the composite action, you can directly combine the run as a step in the action:

  • Set the first step in the composite action to run some pre scripts to set up some preparations for the subsequent run steps in the composite a…

Replies: 6 comments

Comment options

You must be logged in to vote
0 replies
Answer selected
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
5 participants