Structure
NotifyAction
Posts build results to Slack, Teams, Discord, or any custom webhook.
struct NotifyActionUsage
let result = try await NotifyAction().run(
with: .init(slack: .init(message: "Build succeeded!")),
context: context
)Topics
Structures
struct OptionsConfiguration for the notify action.
struct ResultResult of a notify operation.
struct SlackOptionsSlack-specific notification options.
Initializers
init()Creates a
NotifyAction.
Instance Methods
func run(with: NotifyAction.Options, context: ActionContext) async throws -> NotifyAction.ResultExecute the action with the given options.
Type Properties
static let description: StringLong-form description for
--helpoutput and documentation.static let name: StringHuman-readable identifier, e.g.
"build","upload".static var validationRules: [ActionValidationRule]
Default Implementations
Relationships
Conforms To
ActionSwift.SendableSwift.SendableMetatype