Exemple #1
0
        public static OctoDeployment ToOctoDeployment(this DeploymentResource resource)
        {
            var deploy = new OctoDeployment();

            deploy.ID = resource.Id;

            return(deploy);
        }
Exemple #2
0
 public static void WriteOutput(OctoDeployment deployment)
 {
     Console.WriteLine($"::set-output name=deployment_id::{deployment.ID}");
 }