Skip to content

Commit

Permalink
Add logging and output for installed Kit CLI
Browse files Browse the repository at this point in the history
  • Loading branch information
gorkem committed Mar 31, 2024
1 parent 0b44c99 commit d603566
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,10 @@ export async function run(): Promise<void> {
core.setFailed(`No release found for version ${versionSpec}`)
return
}
downloadAndInstall(releaseToDownload)
const execPath = downloadAndInstall(releaseToDownload)
core.info(`🎉 Kit CLI installed to ${execPath}`)
core.setOutput('kit-path', execPath)

Check failure on line 33 in src/main.ts

View workflow job for this annotation

GitHub Actions / Lint Codebase

Delete `··⏎··`
} catch (error) {
// Handle any errors that occur during the request
if (error instanceof Error) {
Expand Down

0 comments on commit d603566

Please sign in to comment.