mirror of
https://github.com/gradle/gradle-build-action.git
synced 2025-06-07 16:56:12 +02:00
Use the repository default for artifact retention
Rather than using a custom 7 day default retention, just fall back to the repository setting for artifact retention.
This commit is contained in:
parent
33f1d73156
commit
b84f847be9
6 changed files with 7 additions and 7 deletions
2
dist/main/index.js
vendored
2
dist/main/index.js
vendored
|
@ -94070,7 +94070,7 @@ function getDependencyGraphOption() {
|
|||
exports.getDependencyGraphOption = getDependencyGraphOption;
|
||||
function getArtifactRetentionDays() {
|
||||
const val = core.getInput('artifact-retention-days');
|
||||
return parseNumericInput('artifact-retention-days', val, 7);
|
||||
return parseNumericInput('artifact-retention-days', val, 0);
|
||||
}
|
||||
exports.getArtifactRetentionDays = getArtifactRetentionDays;
|
||||
function parseNumericInput(paramName, paramValue, paramDefault) {
|
||||
|
|
2
dist/main/index.js.map
vendored
2
dist/main/index.js.map
vendored
File diff suppressed because one or more lines are too long
Loading…
Add table
Add a link
Reference in a new issue