Exclude the .git directory by default

This commit is contained in:
Josh Gross
2024-08-15 20:29:20 -04:00
parent 834a144ee9
commit 3412bb46a4
18 changed files with 434 additions and 113 deletions

View File

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