public static OctoDeployment ToOctoDeployment(this DeploymentResource resource) { var deploy = new OctoDeployment(); deploy.ID = resource.Id; return(deploy); }
public static void WriteOutput(OctoDeployment deployment) { Console.WriteLine($"::set-output name=deployment_id::{deployment.ID}"); }