mirror of
https://github.com/actions/upload-artifact.git
synced 2026-10-25 09:08:29 +02:00
Ensure hidden files input is used
This commit is contained in:
2 files changed
+5
-2
No files matched your search
Vendored
+1
-1
@@ -11091,7 +11091,7 @@ function run() {
|
||||
return __awaiter(this, void 0, void 0, function* () {
|
||||
try {
|
||||
const inputs = (0, input_helper_1.getInputs)();
|
||||
const searchResult = yield (0, search_1.findFilesToUpload)(inputs.searchPath);
|
||||
const searchResult = yield (0, search_1.findFilesToUpload)(inputs.searchPath, inputs.includeHiddenFiles);
|
||||
if (searchResult.filesToUpload.length === 0) {
|
||||
// No files were found, different use cases warrant different types of behavior if nothing is found
|
||||
switch (inputs.ifNoFilesFound) {
|
||||
|
||||
Reference in new issue
Block a user