@@ -7,7 +7,7 @@ use std::collections::BTreeMap;
7
7
use axoasset:: { LocalAsset , SourceFile } ;
8
8
use axoprocess:: Cmd ;
9
9
use camino:: { Utf8Path , Utf8PathBuf } ;
10
- use cargo_dist_schema :: {
10
+ use dist_schema :: {
11
11
target_lexicon:: { self , Architecture , OperatingSystem , Triple } ,
12
12
AptPackageName , ChocolateyPackageName , ContainerImageRef , GhaRunStep , GithubGlobalJobConfig ,
13
13
GithubLocalJobConfig , GithubMatrix , GithubRunnerConfig , GithubRunnerRef , GithubRunners ,
@@ -66,9 +66,9 @@ pub struct GithubCiInfo {
66
66
/// Trigger releases on pushes to this branch instead of ci
67
67
pub release_branch : Option < String > ,
68
68
/// Matrix for upload-local-artifacts
69
- pub artifacts_matrix : cargo_dist_schema :: GithubMatrix ,
69
+ pub artifacts_matrix : dist_schema :: GithubMatrix ,
70
70
/// What kind of job to run on pull request
71
- pub pr_run_mode : cargo_dist_schema :: PrRunMode ,
71
+ pub pr_run_mode : dist_schema :: PrRunMode ,
72
72
/// global task
73
73
pub global_task : GithubGlobalJobConfig ,
74
74
/// homebrew tap
@@ -222,7 +222,7 @@ impl GithubCiInfo {
222
222
let mut dependencies = SystemDependencies :: default ( ) ;
223
223
224
224
let caching_could_be_profitable =
225
- release_branch. is_some ( ) || pr_run_mode == cargo_dist_schema :: PrRunMode :: Upload ;
225
+ release_branch. is_some ( ) || pr_run_mode == dist_schema :: PrRunMode :: Upload ;
226
226
let cache_builds = cache_builds. unwrap_or ( caching_could_be_profitable) ;
227
227
228
228
let need_cargo_auditable = dist. config . builds . cargo . cargo_auditable ;
@@ -679,10 +679,10 @@ fn cargo_xwin() -> GithubRunnerConfig {
679
679
GithubRunnerConfig {
680
680
runner : GithubRunnerRef :: from_str ( "ubuntu-20.04" ) . to_owned ( ) ,
681
681
host : targets:: TARGET_X64_LINUX_GNU . to_owned ( ) ,
682
- container : Some ( cargo_dist_schema :: ContainerConfig {
682
+ container : Some ( dist_schema :: ContainerConfig {
683
683
image : ContainerImageRef :: from_str ( "messense/cargo-xwin" ) . to_owned ( ) ,
684
684
host : targets:: TARGET_X64_LINUX_MUSL . to_owned ( ) ,
685
- package_manager : Some ( cargo_dist_schema :: PackageManager :: Apt ) ,
685
+ package_manager : Some ( dist_schema :: PackageManager :: Apt ) ,
686
686
} ) ,
687
687
}
688
688
}
@@ -743,7 +743,7 @@ fn system_deps_install_script(
743
743
// apt-using runners.
744
744
if rc. container . is_none ( )
745
745
|| rc. container . as_ref ( ) . and_then ( |c| c. package_manager )
746
- == Some ( cargo_dist_schema :: PackageManager :: Apt )
746
+ == Some ( dist_schema :: PackageManager :: Apt )
747
747
{
748
748
for ( name, pkg) in & packages. apt {
749
749
if !pkg. 0 . stage_wanted ( & DependencyKind :: Build ) {
0 commit comments