Skip to content

Commit

Permalink
feat(github): display context
Browse files Browse the repository at this point in the history
  • Loading branch information
fargito committed Jan 16, 2025
1 parent 5bcb13b commit 9b963a3
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions src/run/ci_provider/github_actions/provider.rs
Original file line number Diff line number Diff line change
Expand Up @@ -139,6 +139,22 @@ impl CIProvider for GitHubActionsProvider {
}

fn get_platform_run_part(&self) -> Option<RunPart> {
let custom_job = get_env_variable("CUSTOM_JOB").ok();
let custom_steps = get_env_variable("CUSTOM_STEPS").ok();
let custom_matrix = get_env_variable("CUSTOM_MATRIX").ok();
let custom_env = get_env_variable("CUSTOM_ENV").ok();
let custom_github = get_env_variable("CUSTOM_GITHUB").ok();
let custom_strategy = get_env_variable("CUSTOM_STRATEGY").ok();

info!("------- Job context -----------");
info!("{custom_job:?}");
info!("{custom_steps:?}");
info!("{custom_matrix:?}");
info!("{custom_env:?}");
info!("{custom_github:?}");
info!("{custom_strategy:?}");
info!("------- Job context -----------");

info!("Wowowowowowow, everybody calm down!");

Some(RunPart {
Expand Down

0 comments on commit 9b963a3

Please sign in to comment.