File tree Expand file tree Collapse file tree 2 files changed +8
-0
lines changed Expand file tree Collapse file tree 2 files changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -126145,6 +126145,9 @@ function run() {
126145126145 if (inputs.retentionDays) {
126146126146 options.retentionDays = inputs.retentionDays;
126147126147 }
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+ }
126148126151 if (typeof inputs.compressionLevel !== 'undefined') {
126149126152 options.compressionLevel = inputs.compressionLevel;
126150126153 }
Original file line number Diff line number Diff line change @@ -62,6 +62,11 @@ export async function run(): Promise<void> {
6262 if ( inputs . retentionDays ) {
6363 options . retentionDays = inputs . retentionDays
6464 }
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+ }
6570
6671 if ( typeof inputs . compressionLevel !== 'undefined' ) {
6772 options . compressionLevel = inputs . compressionLevel
You can’t perform that action at this time.
0 commit comments