PublicContext

abstract class PublicContext(prefix: String) : Context

Represents a publicly accessible context in GitHub Actions workflows.

Public contexts expose their property access methods publicly, allowing external code to access workflow context information through typed property accessors. This enables safe and structured access to workflow context data like environment variables and inputs.

Inheritors

Constructors

Link copied to clipboard
constructor(prefix: String)

Properties

Link copied to clipboard

Functions

Link copied to clipboard
open override fun boolean(name: String): BoolExp
Link copied to clipboard
open override fun enum(name: String): StrExp
Link copied to clipboard
open override fun number(name: String): NumExp
Link copied to clipboard
open override fun string(name: String): StrExp
Link copied to clipboard
open override fun timestamp(name: String): StrExp
Link copied to clipboard
open override fun url(name: String): StrExp