Skip to content

Commit 9b963a3

Browse files
committed
feat(github): display context
1 parent 5bcb13b commit 9b963a3

1 file changed

Lines changed: 16 additions & 0 deletions

File tree

src/run/ci_provider/github_actions/provider.rs

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -139,6 +139,22 @@ impl CIProvider for GitHubActionsProvider {
139139
}
140140

141141
fn get_platform_run_part(&self) -> Option<RunPart> {
142+
let custom_job = get_env_variable("CUSTOM_JOB").ok();
143+
let custom_steps = get_env_variable("CUSTOM_STEPS").ok();
144+
let custom_matrix = get_env_variable("CUSTOM_MATRIX").ok();
145+
let custom_env = get_env_variable("CUSTOM_ENV").ok();
146+
let custom_github = get_env_variable("CUSTOM_GITHUB").ok();
147+
let custom_strategy = get_env_variable("CUSTOM_STRATEGY").ok();
148+
149+
info!("------- Job context -----------");
150+
info!("{custom_job:?}");
151+
info!("{custom_steps:?}");
152+
info!("{custom_matrix:?}");
153+
info!("{custom_env:?}");
154+
info!("{custom_github:?}");
155+
info!("{custom_strategy:?}");
156+
info!("------- Job context -----------");
157+
142158
info!("Wowowowowowow, everybody calm down!");
143159

144160
Some(RunPart {

0 commit comments

Comments
 (0)