@@ -38,7 +38,7 @@ async function downloadQtC(urls: string[]): Promise<string[]> {
3838 try {
3939 for ( const packageName of packages ) {
4040 const fullUrl = `${ url } /${ packageName } `
41- console . log ( `Downloading ${ fullUrl } ` )
41+ core . info ( `Downloading ${ fullUrl } ` )
4242 await downloadPackage ( fullUrl , `${ tmpDir } /${ packageName } ` )
4343 }
4444 return packages . map ( packageName => `${ tmpDir } /${ packageName } ` )
@@ -101,11 +101,11 @@ export async function run(): Promise<void> {
101101
102102 for ( const packageFile of packages ) {
103103 // Unzip the downloaded file
104- console . log ( `Unzipping package: ${ packageFile } ` )
104+ core . info ( `Unzipping package: ${ packageFile } ` )
105105 await extract ( packageFile , destination )
106106 }
107107
108- console . log ( `Qt Creator ${ version } has been extracted to ${ destination } ` )
108+ core . info ( `Qt Creator ${ version } has been extracted to ${ destination } ` )
109109
110110 // Set outputs for other workflow steps to use
111111 core . setOutput ( 'path' , destination )
@@ -114,7 +114,6 @@ export async function run(): Promise<void> {
114114 path . resolve ( destination ) . split ( path . sep ) . join ( '/' )
115115 )
116116 } catch ( error ) {
117- console . log ( 'Error:' , error )
118117 // Fail the workflow run if an error occurs
119118 if ( error instanceof Error ) core . setFailed ( error . message )
120119 }
0 commit comments