mirror of
https://gitea.com/actions/upload-artifact.git
synced 2026-02-02 15:23:54 +08:00
Testing
This commit is contained in:
@@ -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(
|
||||
|
||||
Reference in New Issue
Block a user