Add workflow:rules:always to spack ci output (#36011)

This commit is contained in:
Jonathon Anderson 2023-04-04 10:03:58 -05:00 committed by GitHub
parent d0cd340628
commit 78f5b2a2c6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1445,6 +1445,9 @@ def main_script_replacements(cmd):
if spack_stack_name:
output_object["variables"]["SPACK_CI_STACK_NAME"] = spack_stack_name
# Ensure the child pipeline always runs
output_object["workflow"] = {"rules": [{"when": "always"}]}
if spack_buildcache_copy:
# Write out the file describing specs that should be copied
copy_specs_dir = os.path.join(pipeline_artifacts_dir, "specs_to_copy")