Class GitHubBuildContext
Build context for GitHub interactions.
public class GitHubBuildContext
- Inheritance
-
GitHubBuildContext
- Inherited Members
Constructors
GitHubBuildContext()
Initializes a new instance of the GitHubBuildContext class.
public GitHubBuildContext()
Properties
GitHubToken
Gets or sets the token for GitHub.
public string GitHubToken { get; set; }
Property Value
RepositoryName
Gets or sets the name of the repository.
public string RepositoryName { get; set; }
Property Value
Remarks
This information is filled via 'GITHUB_REPOSITORY' environment variable set by GitHub action.
RepositoryOwner
Gets or sets the owner of the repository.
public string RepositoryOwner { get; set; }
Property Value
Remarks
This information is filled via 'GITHUB_REPOSITORY' environment variable set by GitHub action.
Methods
ReadArguments(PleOpsBuildContext)
Initializes from environment variables.
public void ReadArguments(PleOpsBuildContext context)
Parameters
context
PleOpsBuildContextCake context extensions.