mirror of
https://github.com/actions/upload-artifact.git
synced 2025-06-24 08:36:12 +02:00
Testing
This commit is contained in:
parent
9073645079
commit
0c5eb305e8
2 changed files with 73 additions and 11 deletions
|
@ -10,6 +10,7 @@ async function run(): Promise<void> {
|
|||
const searchResult = await findFilesToUpload(inputs.searchPath)
|
||||
if (searchResult.filesToUpload.length === 0) {
|
||||
// No files were found, different use cases warrant different types of behavior if nothing is found
|
||||
console.log(inputs.ifNoFilesFound)
|
||||
switch (inputs.ifNoFilesFound) {
|
||||
case NoFileOptions.warn: {
|
||||
core.warning(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue