@@ -63,7 +63,7 @@ pub fn ci(args: CiJob, metadata: CargoMetadata) -> cross::Result<()> {
6363 chrono:: Utc :: now( ) . to_rfc3339_opts( chrono:: SecondsFormat :: Millis , true )
6464 ) ) ;
6565
66- gha_output ( "labels" , & serde_json:: to_string ( & labels. join ( "\n " ) ) ?) ;
66+ gha_output ( "labels" , & serde_json:: to_string ( & labels. join ( "\n " ) ) ?) ? ;
6767
6868 let version = cross_meta. version . clone ( ) ;
6969
@@ -78,15 +78,15 @@ pub fn ci(args: CiJob, metadata: CargoMetadata) -> cross::Result<()> {
7878 false ,
7979 & version,
8080 ) ?[ 0 ] ,
81- ) ;
81+ ) ? ;
8282
8383 if target. has_ci_image ( ) {
84- gha_output ( "has-image" , "true" )
84+ gha_output ( "has-image" , "true" ) ?
8585 }
8686 if target. is_standard_target_image ( ) {
87- gha_output ( "test-variant" , "default" )
87+ gha_output ( "test-variant" , "default" ) ?
8888 } else {
89- gha_output ( "test-variant" , & target. name )
89+ gha_output ( "test-variant" , & target. name ) ?
9090 }
9191 }
9292 CiJob :: Check { ref_type, ref_name } => {
@@ -110,7 +110,7 @@ pub fn ci(args: CiJob, metadata: CargoMetadata) -> cross::Result<()> {
110110 . ok_or_else ( || eyre:: eyre!( "cargo search returned unexpected data" ) ) ?,
111111 ) ?;
112112 if version >= latest_version && version. pre . is_empty ( ) {
113- gha_output ( "is-latest" , "true" )
113+ gha_output ( "is-latest" , "true" ) ?
114114 }
115115 }
116116 }
0 commit comments