mirror of
https://github.com/actions/upload-artifact.git
synced 2025-04-18 14:34:44 +02:00
Improve logs
This commit is contained in:
parent
1f5451ede0
commit
2e9213cbb6
1 changed files with 8 additions and 0 deletions
|
@ -14,6 +14,14 @@ async function run(): Promise<void> {
|
||||||
`No files were found for the provided path: ${path}. No artifacts will be uploaded.`
|
`No files were found for the provided path: ${path}. No artifacts will be uploaded.`
|
||||||
)
|
)
|
||||||
} else {
|
} 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 artifactClient = artifact.create()
|
||||||
const options = {
|
const options = {
|
||||||
continueOnError: true
|
continueOnError: true
|
||||||
|
|
Loading…
Add table
Reference in a new issue