mirror of
https://code.forgejo.org/actions/upload-artifact
synced 2025-06-11 05:42:25 +02:00
Exclude the .git
directory by default
This commit is contained in:
parent
834a144ee9
commit
3412bb46a4
18 changed files with 434 additions and 113 deletions
|
@ -10,6 +10,7 @@ export function getInputs(): MergeInputs {
|
|||
const pattern = core.getInput(Inputs.Pattern, {required: true})
|
||||
const separateDirectories = core.getBooleanInput(Inputs.SeparateDirectories)
|
||||
const deleteMerged = core.getBooleanInput(Inputs.DeleteMerged)
|
||||
const includeGitDirectory = core.getBooleanInput(Inputs.IncludeGitDirectory)
|
||||
|
||||
const inputs = {
|
||||
name,
|
||||
|
@ -17,7 +18,8 @@ export function getInputs(): MergeInputs {
|
|||
separateDirectories,
|
||||
deleteMerged,
|
||||
retentionDays: 0,
|
||||
compressionLevel: 6
|
||||
compressionLevel: 6,
|
||||
includeGitDirectory
|
||||
} as MergeInputs
|
||||
|
||||
const retentionDaysStr = core.getInput(Inputs.RetentionDays)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue