Merge pull request #3 from Azure/snake_case

CamelCase to snake_case
This commit is contained in:
Zander 2020-03-25 16:46:48 -04:00 коммит произвёл GitHub
Родитель 073407022a c884d747ca
Коммит 8ff125aff4
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 4AEE18F83AFDEB23
1 изменённых файлов: 7 добавлений и 7 удалений

Просмотреть файл

@ -128,9 +128,9 @@ def main():
# Create outputs
print("::debug::Creating outputs")
print(f"::set-output name=experimentName::{run.experiment.name}")
print(f"::set-output name=runId::{run.id}")
print(f"::set-output name=runUrl::{run.get_portal_url()}")
print(f"::set-output name=experiment_name::{run.experiment.name}")
print(f"::set-output name=run_id::{run.id}")
print(f"::set-output name=run_url::{run.get_portal_url()}")
# Waiting for run to complete
print("::debug::Waiting for run to complete")
@ -139,7 +139,7 @@ def main():
# Creating additional outputs of finished run
run_metrics = run.get_metrics(recursive=True)
print(f"::set-output name=runMetrics::{run_metrics}")
print(f"::set-output name=run_metrics::{run_metrics}")
# Publishing pipeline
print("::debug::Publishing pipeline")
@ -162,9 +162,9 @@ def main():
# Creating additional outputs
run_metrics = run.get_metrics(recursive=True)
print(f"::set-output name=publishedPipelineId::{published_pipeline.id}")
print(f"::set-output name=publishedPipelineStatus::{published_pipeline.status}")
print(f"::set-output name=publishedPipelineEndpoint::{published_pipeline.endpoint}")
print(f"::set-output name=published_pipeline_id::{published_pipeline.id}")
print(f"::set-output name=published_pipeline_status::{published_pipeline.status}")
print(f"::set-output name=published_pipeline_endpoint::{published_pipeline.endpoint}")
elif parameters.get("publish_pipeline", False):
print(f"::error::Could not register pipeline because you did not pass a pipeline to the action")