This commit is contained in:
Josh Gross
2024-08-15 16:31:57 -04:00
parent cb6558bb10
commit acb59e4776
7 changed files with 13 additions and 7 deletions

View File

@ -6,5 +6,5 @@ export enum Inputs {
RetentionDays = 'retention-days',
CompressionLevel = 'compression-level',
DeleteMerged = 'delete-merged',
IncludeHiddenFiles = 'include-hidden-files',
IncludeHiddenFiles = 'include-hidden-files'
}

View File

@ -19,7 +19,7 @@ export function getInputs(): MergeInputs {
deleteMerged,
retentionDays: 0,
compressionLevel: 6,
includeHiddenFiles,
includeHiddenFiles
} as MergeInputs
const retentionDaysStr = core.getInput(Inputs.RetentionDays)

View File

@ -62,7 +62,10 @@ export async function run(): Promise<void> {
options.compressionLevel = inputs.compressionLevel
}
const searchResult = await findFilesToUpload(tmpDir, inputs.includeHiddenFiles)
const searchResult = await findFilesToUpload(
tmpDir,
inputs.includeHiddenFiles
)
await uploadArtifact(
inputs.name,