litex_setup: Don't do repo init in dev_mode (SSH clone) if running on CI.
This commit is contained in:
parent
de608ee114
commit
e0be028753
|
@ -449,7 +449,9 @@ def main():
|
|||
|
||||
# Init.
|
||||
if args.init:
|
||||
litex_setup_init_repos(config=args.config, tag=args.tag, dev_mode=args.dev)
|
||||
ci_run = (os.environ.get("GITHUB_ACTIONS") == "true")
|
||||
dev_mode = args.dev and (not ci_run)
|
||||
litex_setup_init_repos(config=args.config, tag=args.tag, dev_mode=dev_mode)
|
||||
|
||||
# Update.
|
||||
if args.update:
|
||||
|
|
Loading…
Reference in New Issue