Skip to content

Commit

Permalink
feat: log out updated modules
Browse files Browse the repository at this point in the history
  • Loading branch information
abemedia committed Jul 30, 2021
1 parent 93b7abb commit 827b0c7
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,12 @@ async function run(): Promise<void> {
throw new Error(`Unknown mode: ${mode}`)
}

if (modules.length) {
core.debug(`Found modules:${modules.map((module) => `\n- ${module}`)}`)
} else {
core.debug('No modules found')
}

core.setOutput('modules', modules)
} catch (error) {
core.setFailed(error.message)
Expand Down

0 comments on commit 827b0c7

Please sign in to comment.