Skip to content

Commit ff15f03

Browse files
authored
Merge pull request #609 from actions/joshmgross/fix-include-hidden-files-input-node16
Ensure hidden files input is used
2 parents 9ee08a3 + 87b9624 commit ff15f03

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

Diff for: dist/index.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -11091,7 +11091,7 @@ function run() {
1109111091
return __awaiter(this, void 0, void 0, function* () {
1109211092
try {
1109311093
const inputs = (0, input_helper_1.getInputs)();
11094-
const searchResult = yield (0, search_1.findFilesToUpload)(inputs.searchPath);
11094+
const searchResult = yield (0, search_1.findFilesToUpload)(inputs.searchPath, inputs.includeHiddenFiles);
1109511095
if (searchResult.filesToUpload.length === 0) {
1109611096
// No files were found, different use cases warrant different types of behavior if nothing is found
1109711097
switch (inputs.ifNoFilesFound) {

Diff for: src/upload-artifact.ts

+4-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,10 @@ import {NoFileOptions} from './constants'
77
async function run(): Promise<void> {
88
try {
99
const inputs = getInputs()
10-
const searchResult = await findFilesToUpload(inputs.searchPath)
10+
const searchResult = await findFilesToUpload(
11+
inputs.searchPath,
12+
inputs.includeHiddenFiles
13+
)
1114
if (searchResult.filesToUpload.length === 0) {
1215
// No files were found, different use cases warrant different types of behavior if nothing is found
1316
switch (inputs.ifNoFilesFound) {

0 commit comments

Comments
 (0)