mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Only de-select build-source-tarball
if build-docs
is also False
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
This commit is contained in:
parent
b4ddd2624b
commit
3db7d31358
1 changed files with 4 additions and 1 deletions
|
@ -347,13 +347,16 @@ def define_jobs(
|
|||
if not jobs["test"] and not jobs["test-pkg"]:
|
||||
with open(github_step_summary, "a", encoding="utf-8") as wfh:
|
||||
for job in (
|
||||
"build-source-tarball",
|
||||
"build-deps-onedir",
|
||||
"build-salt-onedir",
|
||||
"build-pkgs",
|
||||
):
|
||||
wfh.write(f"De-selecting the '{job}' job.\n")
|
||||
jobs[job] = False
|
||||
if not jobs["build-docs"]:
|
||||
with open(github_step_summary, "a", encoding="utf-8") as wfh:
|
||||
wfh.write("De-selecting the 'build-source-tarball' job.\n")
|
||||
jobs["build-source-tarball"] = False
|
||||
|
||||
with open(github_step_summary, "a", encoding="utf-8") as wfh:
|
||||
wfh.write("Selected Jobs:\n")
|
||||
|
|
Loading…
Add table
Reference in a new issue