fix(roulette): Run only one conditional block
This commit is contained in:
parent
e2585cbc7e
commit
525923d213
1 changed files with 3 additions and 3 deletions
6
.github/helper/roulette.py
vendored
6
.github/helper/roulette.py
vendored
|
|
@ -53,15 +53,15 @@ if __name__ == "__main__":
|
|||
if ci_files_changed:
|
||||
print("CI related files were updated, running all build processes.")
|
||||
|
||||
if only_docs_changed:
|
||||
elif only_docs_changed:
|
||||
print("Only docs were updated, stopping build process.")
|
||||
sys.exit(0)
|
||||
|
||||
if only_frontend_code_changed and build_type == "server":
|
||||
elif only_frontend_code_changed and build_type == "server":
|
||||
print("Only Frontend code was updated; Stopping Python build process.")
|
||||
sys.exit(0)
|
||||
|
||||
if only_py_changed and build_type == "ui":
|
||||
elif only_py_changed and build_type == "ui":
|
||||
print("Only Python code was updated, stopping Cypress build process.")
|
||||
sys.exit(0)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue