Class RunDefaults

  • All Implemented Interfaces:
    io.typeflows.util.Renderable

    
    public final class RunDefaults
     implements Renderable<Map<String, Any>>
                        

    Represents default run settings for GitHub Actions workflow steps.

    Run defaults provide common configuration like shell type and working directory that apply to all run steps in a workflow or job. This enables consistent execution environments and reduces duplication of common run configurations.

    • Constructor Summary

      Constructors 
      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      Map<String, Object> render()
      final static RunDefaults create(Configure<RunDefaults.DSL> block) Creates and configures a RunDefaults instance.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

    • Method Detail

      • create

         final static RunDefaults create(Configure<RunDefaults.DSL> block)

        Creates and configures a RunDefaults instance.

        Parameters:
        block - Configuration lambda to set up the run defaults
        Returns:

        Configured RunDefaults instance