GitHubActionsWorkflowInfo.

GraphQLUrl Property

Summary

Gets the GraphQL API URL.

Syntax

public string GraphQLUrl { get; }

Examples

if (BuildSystem.GitHubActions.IsRunningOnGitHubActions)
{
    Information(@"Workflow GraphQLUrl: {0}", BuildSystem.GitHubActions.Environment.Workflow.GraphQLUrl);
}
if (GitHubActions.IsRunningOnGitHubActions)
{
    Information(@"Workflow GraphQLUrl: {0}", GitHubActions.Environment.Workflow.GraphQLUrl);
}

Value

Type Description
string The GraphQL API URL. For example: https://api.github.com/graphql.