@@ -229,19 +229,19 @@ async function importSigningCertificate(project: XcodeProject, certificate: Cert
229229 core . info ( `Certificate path: ${ certificatePath } ` ) ;
230230 const certificateContent = Buffer . from ( certificate . attributes . certificateContent , 'base64' ) ;
231231 await fs . promises . writeFile ( certificatePath , certificateContent ) ;
232- core . info ( `[command]${ security } import ${ certificatePath } -A -t cert -f x509 -k ${ project . credential . keychainPath } ` ) ;
232+ // core.info(`[command]${security} import ${certificatePath} -A -t cert -f x509 -k ${project.credential.keychainPath}`);
233233 await exec . exec ( security , [
234234 'import' , certificatePath ,
235235 '-A' , '-t' , 'cert' , '-f' , 'x509' ,
236236 '-k' , project . credential . keychainPath ,
237- ] , { silent : true } ) ;
238- core . info ( `[command]${ security } set-key-partition-list -S apple-tool:,apple:,codesign: -s -k ${ project . credential . tempPassPhrase } ${ project . credential . keychainPath } ` ) ;
237+ ] ) ;
238+ // core.info(`[command]${security} set-key-partition-list -S apple-tool:,apple:,codesign: -s -k ${project.credential.tempPassPhrase} ${project.credential.keychainPath}`);
239239 await exec . exec ( security , [
240240 'set-key-partition-list' ,
241241 '-S' , 'apple-tool:,apple:,codesign:' ,
242242 '-s' , '-k' , project . credential . tempPassPhrase ,
243243 project . credential . keychainPath
244- ] , { silent : true } ) ;
244+ ] ) ;
245245 await exec . exec ( security , [ 'find-identity' , '-v' , '-p' , 'codesigning' , project . credential . keychainPath ] ) ;
246246}
247247
@@ -265,19 +265,19 @@ async function createCSR(tempCredential: string, certificateType: CertificateTyp
265265 '-out' , csrPath ,
266266 '-subj' , subject
267267 ] , { silent : true } ) ;
268- core . info ( `[command]${ security } import ${ privateKeyPath } -A -t private -k ${ temp } /${ tempCredential } .keychain-db` ) ;
268+ // core.info(`[command]${security} import ${privateKeyPath} -A -t private -k ${temp}/${tempCredential}.keychain-db`);
269269 await exec . exec ( security , [
270270 'import' , privateKeyPath ,
271271 '-A' , '-t' , 'private' ,
272272 '-k' , `${ temp } /${ tempCredential } .keychain-db`
273- ] , { silent : true } ) ;
274- core . info ( `[command]${ security } set-key-partition-list -S apple-tool:,apple:,codesign: -s -k ${ tempCredential } ${ temp } /${ tempCredential } .keychain-db` ) ;
273+ ] ) ;
274+ // core.info(`[command]${security} set-key-partition-list -S apple-tool:,apple:,codesign: -s -k ${tempCredential} ${temp}/${tempCredential}.keychain-db`);
275275 await exec . exec ( security , [
276276 'set-key-partition-list' ,
277277 '-S' , 'apple-tool:,apple:,codesign:' ,
278278 '-s' , '-k' , tempCredential ,
279279 `${ temp } /${ tempCredential } .keychain-db`
280- ] , { silent : true } ) ;
280+ ] ) ;
281281 return await fs . promises . readFile ( csrPath , 'utf8' ) ;
282282}
283283
0 commit comments