Exclude hidden files by default

This commit is contained in:
Josh Gross committed 2024-08-15 16:22:09 -04:00
1 parent 834a144ee9
commit cb6558bb10
18 files changed
+169 -36

No files matched your search

+3 -1
View File
@@ -9,6 +9,7 @@ export function getInputs(): UploadInputs {
const name = core.getInput(Inputs.Name)
const path = core.getInput(Inputs.Path, {required: true})
const overwrite = core.getBooleanInput(Inputs.Overwrite)
const includeHiddenFiles = core.getBooleanInput(Inputs.IncludeHiddenFiles)
const ifNoFilesFound = core.getInput(Inputs.IfNoFilesFound)
const noFileBehavior: NoFileOptions = NoFileOptions[ifNoFilesFound]
@@ -27,7 +28,8 @@ export function getInputs(): UploadInputs {
artifactName: name,
searchPath: path,
ifNoFilesFound: noFileBehavior,
overwrite: overwrite
overwrite: overwrite,
includeHiddenFiles: includeHiddenFiles,
} as UploadInputs
const retentionDaysStr = core.getInput(Inputs.RetentionDays)