mirror of
https://code.forgejo.org/forgejo/upload-artifact.git
synced 2026-02-04 16:41:42 +00:00
Exclude hidden files by default
This commit is contained in:
parent
834a144ee9
commit
cb6558bb10
18 changed files with 169 additions and 36 deletions
|
|
@ -24,7 +24,7 @@ async function deleteArtifactIfExists(artifactName: string): Promise<void> {
|
|||
|
||||
export async function run(): Promise<void> {
|
||||
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