Skip to content
Discussion options

You must be logged in to vote

You can use custom shell, @everops-alex:

https://help.github.com/en/actions/reference/workflow-syntax-for-github-actions#custom-shell

For example, the template of “bash” shell is:

bash --noprofile --norc -eo pipefail {0}

So to make it source the rc files before running the script, you can use (-l flag is needed to invoke bash as login shell, see “Invocation” section in bash’s man page for more info):

bash -leo pipefail {0}

_Edited: _I used -I instead of -l in the reply

Replies: 4 comments 6 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
3 replies
@AllanOricil
Comment options

@FaureAlexis
Comment options

@snakajima-cogility
Comment options

Comment options

You must be logged in to vote
1 reply
@carlos2martinize

This comment was marked as off-topic.

Comment options

You must be logged in to vote
2 replies
@devzer01
Comment options

@devzer01
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Product Feedback Share your thoughts and suggestions on GitHub features and improvements
9 participants