We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1fd4c85 commit e6bd6b7Copy full SHA for e6bd6b7
1 file changed
src/upload-artifact.ts
@@ -31,8 +31,9 @@ async function run(): Promise<void> {
31
}
32
33
} else {
34
+ const s = searchResult.filesToUpload.length === 1 ? '' : 's'
35
core.info(
- `With the provided path, there will be ${searchResult.filesToUpload.length} file(s) uploaded`
36
+ `With the provided path, there will be ${searchResult.filesToUpload.length} file${s} uploaded`
37
)
38
core.debug(`Root artifact directory is ${searchResult.rootDirectory}`)
39
0 commit comments