Skip to content

Commit

Permalink
fail on not this specific pr
Browse files Browse the repository at this point in the history
  • Loading branch information
Emilgardis committed Nov 18, 2023
1 parent 2a99480 commit aa107f7
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion xtask/src/ci/target_matrix.rs
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,9 @@ pub(crate) fn run(

let json = serde_json::to_string(&matrix)?;
gha_print(&json);
panic!("oops!");
if !std::env::var("GITHUB_REF").unwrap().contains("refs/remotes/pull") {
panic!("eee")
}
gha_output("matrix", &json)?;
Ok(())
}
Expand Down

0 comments on commit aa107f7

Please sign in to comment.