Actions run script not over after all command completed

I have an action run successfully several times. But today, I found my action failed because exceeded the maximum execution time of 360 minutes. In my log file, I see all command is run successful, but this step is not over until canceled because exceeded the maximum.

Thanks for any ideas.

I found it may be node or rollup’s problem.