Improve logs

This commit is contained in:
konradpabjan 2020-02-20 22:24:46 -05:00
parent 1f5451ede0
commit 2e9213cbb6

View file

@ -14,6 +14,14 @@ async function run(): Promise<void> {
`No files were found for the provided path: ${path}. No artifacts will be uploaded.`
)
} else {
core.info(
`With the provided path, there will be ${searchResult.filesToUpload.length} files uploaded`
)
for (const file of searchResult.filesToUpload) {
core.debug(`Upload file: ${file}`)
}
core.debug(`Root artifact directory is ${searchResult.rootDirectory}`)
const artifactClient = artifact.create()
const options = {
continueOnError: true