mirror of
https://github.com/actions/upload-artifact.git
synced 2025-06-29 12:24:15 +00:00
Ensure hidden files input is used
This commit is contained in:
parent
9ee08a3b00
commit
87b9624c21
2 changed files with 5 additions and 2 deletions
|
@ -7,7 +7,10 @@ import {NoFileOptions} from './constants'
|
|||
async function run(): Promise<void> {
|
||||
try {
|
||||
const inputs = getInputs()
|
||||
const searchResult = await findFilesToUpload(inputs.searchPath)
|
||||
const searchResult = await 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) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue