mirror of
https://github.com/actions/upload-artifact.git
synced 2026-01-31 08:53:28 +03:00
Exclude the .git directory by default
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user