Interface StepConfiguration

    • Method Detail

      • getEnv

        @Stability(Experimental)
        @Nullable
        default Map<String,​String> getEnv()
        (experimental) Sets environment variables for steps to use in the runner environment.

        You can also set environment variables for the entire workflow or a job.

      • getId

        @Stability(Experimental)
        @Nullable
        default String getId()
        (experimental) A unique identifier for the step.

        You can use the id to reference the step in contexts.

      • getIfValue

        @Stability(Experimental)
        @Nullable
        default String getIfValue()
        (experimental) You can use the if conditional to prevent a job from running unless a condition is met.

        You can use any supported context and expression to create a conditional.

      • getName

        @Stability(Experimental)
        @Nullable
        default String getName()
        (experimental) A name for your step to display on GitHub.
      • getWorkingDirectory

        @Stability(Experimental)
        @Nullable
        default String getWorkingDirectory()
        (experimental) Specifies a working directory for a step.

        Overrides a job's working directory.