Git Action Workflows - Ability to invoke another step in the middle of a parent step #35808
Closed
ppmgitrepo
started this conversation in
Ideas
Replies: 2 comments 1 reply
-
Hello @ppmgitrepo are you sure you created that item on the right repository? This is the PrestaShop project and we do not control the GitHub Actions workflow |
Beta Was this translation helpful? Give feedback.
1 reply
-
Sorry my bad - closing this. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
The problem
In a Git Actions Workflow
I have 2 steps
Step1
Step2
Step1 processes many rows in an iterative While .. Loop
from within the loop, I want to have the ability to invoke Step2 , execute it and return back to Step1 to the line where it was invoked, and continue processing the rest of the lines in Step1 within the loop.
(because the code in Step2 just does some iterative task)
It is like a Function() invocation call within the loop.
The solution
It will make coding much easier when you have to do bulk processing.
You can split the processing into multiple steps that does smaller repetitive tasks and just invoke them in the main Step.
Alternatives
no direct alternatives.
Additional context
No response
Do you plan to work on this subject?
Beta Was this translation helpful? Give feedback.
All reactions