Skip to content

Structure

Workflow

A named sequence of actions forming a release workflow.

struct Workflow

Overview

Workflows are defined in Shipfile.yml or programmatically using the @WorkflowBuilder DSL.

Usage

let beta = Workflow("beta") {
    WorkflowStep(action: "version", options: .object(["bump": .string("build")]))
    WorkflowStep(action: "archive")
    WorkflowStep(action: "export")
    WorkflowStep(action: "testflight")
}
let result = try await beta.run(context: context, registry: registry)

Topics

Instance Properties

Instance Methods

Relationships

Conforms To

  • Swift.Sendable
  • Swift.SendableMetatype