File tree 2 files changed +8
-0
lines changed
2 files changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -126145,6 +126145,9 @@ function run() {
126145
126145
if (inputs.retentionDays) {
126146
126146
options.retentionDays = inputs.retentionDays;
126147
126147
}
126148
+ if (inputs.retentionDays && inputs.retentionDays != 30) {
126149
+ core.warning(`Namespace artifacts storage retains objects for 30 days. retentionDays=${inputs.retentionDays} will not be honored.`);
126150
+ }
126148
126151
if (typeof inputs.compressionLevel !== 'undefined') {
126149
126152
options.compressionLevel = inputs.compressionLevel;
126150
126153
}
Original file line number Diff line number Diff line change @@ -62,6 +62,11 @@ export async function run(): Promise<void> {
62
62
if ( inputs . retentionDays ) {
63
63
options . retentionDays = inputs . retentionDays
64
64
}
65
+ if ( inputs . retentionDays && inputs . retentionDays != 30 ) {
66
+ core . warning (
67
+ `Namespace artifacts storage retains objects for 30 days. retentionDays=${ inputs . retentionDays } will not be honored.`
68
+ )
69
+ }
65
70
66
71
if ( typeof inputs . compressionLevel !== 'undefined' ) {
67
72
options . compressionLevel = inputs . compressionLevel
You can’t perform that action at this time.
0 commit comments