From 319c56f942d796aa4c52bc6359e7e48bd1bdb3f9 Mon Sep 17 00:00:00 2001 From: Caleb Maclennan Date: Wed, 25 Sep 2024 15:24:20 +0300 Subject: [PATCH] fix(gha): Stop forcing all GH Action runs to install-dist This is convenient sometimes, but in the event the dist package should include things not generated by fontship or not available on the first pass, it makes it nearly impossible to build something with fontship, then do something else, then make the package. --- src/make/mod.rs | 6 ------ 1 file changed, 6 deletions(-) diff --git a/src/make/mod.rs b/src/make/mod.rs index 175936c..2c437d5 100644 --- a/src/make/mod.rs +++ b/src/make/mod.rs @@ -48,12 +48,6 @@ pub fn run(target: Vec) -> Result<()> { if is_glc { targets.push(String::from("_glc")); } - if (is_gha || is_glc) - && targets.first().unwrap() != "debug" - && targets.first().unwrap() != ".gitignore" - { - targets.push(String::from("install-dist")); - } let mut process = Exec::cmd("make") .args(&makeflags) .args(&makefiles)