Summary
Provides GitHub Actions commands for a current build.
- Namespace
- Cake
.Common .Build .GitHubActions .Commands - Base Types
-
- object
graph BT
Type-->Base0["object"]
Type["GitHubActionsCommands"]
class Type type-node
Syntax
public sealed class GitHubActionsCommands
Constructors
Name | Summary |
---|---|
Git |
Initializes a new instance of the GitHubActionsCommands class.
|
Methods
Name | Value | Summary |
---|---|---|
AddPath |
void |
Prepends a directory to the system PATH variable and automatically makes it available to all subsequent actions in the current job.
|
Debug |
void |
Write debug message to the build log.
|
DownloadArtifact |
Task |
Download remote artifact container into local directory.
|
EndGroup |
void |
End a group in the build log.
|
Error |
void |
Write error message to the build log.
|
Notice |
void |
Write notice message to the build log.
|
Set |
void |
Creates or updates an environment variable for any steps running next in a job.
|
SetOutputParameter |
void |
Creates or updates an output parameter for any steps running next in a job.
|
SetSecret |
void |
Registers a secret which will get masked in the build log.
|
SetStepSummary |
void |
Creates or updates the step summary for a GitHub workflow.
|
StartGroup |
void |
Start a group in the build log.
|
UploadArtifact |
Task |
Upload local directory files into a file container folder, and create an artifact.
|
UploadArtifact |
Task |
Upload local file into a file container folder, and create an artifact.
|
Warning |
void |
Write warning message to the build log.
|
Extension Methods
Name | Value | Summary |
---|---|---|
Dump |
string |
Get a basic string representation of specified object.
From LoggingExtensions
Requires the Cake.Incubator addin
|
IsIn |
bool |
Checks if the source is contained in a list
From EnumerableExtensions
Requires the Cake.Incubator addin
|
NotNull |
void |
Throws an exception if the specified parameter's value is null.
From Extensions
Requires the Cake.Ftp addin
|
NotNull |
void |
Throws an exception if the specified parameter's value is null.
From IssuesArgumentChecks
Requires the Cake.Issues addin
|
ThrowIfNull |
T |
Throws a
System.ArgumentNullException with a specific message if the value is null, otherwise returns the value
From AssertExtensions
Requires the Cake.Incubator addin
|
ThrowIfNull |
T |
Throws a
System.ArgumentNullException if the value is null, otherwise returns the value
From AssertExtensions
Requires the Cake.Incubator addin
|
ToDictionary |
IDictionary |
From ObjectHelpers
Requires the Cake.DeployParams addin
|
To |
string |
Returns the string value or a
Not set > markup suitable for Spectre.Console.
From StringExtensions
Requires the Cake.Issues addin
|