Add workflow:rules:always to spack ci output (#36011)
This commit is contained in:
		
				
					committed by
					
						
						GitHub
					
				
			
			
				
	
			
			
			
						parent
						
							d0cd340628
						
					
				
				
					commit
					78f5b2a2c6
				
			@@ -1445,6 +1445,9 @@ def main_script_replacements(cmd):
 | 
				
			|||||||
        if spack_stack_name:
 | 
					        if spack_stack_name:
 | 
				
			||||||
            output_object["variables"]["SPACK_CI_STACK_NAME"] = 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:
 | 
					        if spack_buildcache_copy:
 | 
				
			||||||
            # Write out the file describing specs that should be copied
 | 
					            # Write out the file describing specs that should be copied
 | 
				
			||||||
            copy_specs_dir = os.path.join(pipeline_artifacts_dir, "specs_to_copy")
 | 
					            copy_specs_dir = os.path.join(pipeline_artifacts_dir, "specs_to_copy")
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user