Skip to content

Re-use previous run #26908

Answered by airtower-luna
skoudoro asked this question in Actions
Discussion options

You must be logged in to vote

Each step gets a fresh Bash instance, so all loaded functions are lost, and you’ll have to source the script file again. Though in my opinion it’d be nicer to handle the function selection with command line options (maybe a subcommand?) instead of sourcing the script and then calling the function.

If sourcing/running the script twice creates undesirable side effects that may be the real problem to address.

Replies: 3 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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
2 participants