File tree Expand file tree Collapse file tree 2 files changed +2
-34
lines changed
Expand file tree Collapse file tree 2 files changed +2
-34
lines changed Original file line number Diff line number Diff line change @@ -1368,29 +1368,6 @@ jobs:
13681368 env :
13691369 DOCKER_BUILD_SUMMARY : false
13701370
1371- summary-disable-deprecated :
1372- runs-on : ubuntu-latest
1373- steps :
1374- -
1375- name : Checkout
1376- uses : actions/checkout@v6
1377- with :
1378- path : action
1379- -
1380- name : Set up Docker Buildx
1381- uses : docker/setup-buildx-action@v4
1382- with :
1383- version : ${{ inputs.buildx-version || env.BUILDX_VERSION }}
1384- driver-opts : |
1385- image=${{ inputs.buildkit-image || env.BUILDKIT_IMAGE }}
1386- -
1387- name : Build
1388- uses : ./action
1389- with :
1390- file : ./test/Dockerfile
1391- env :
1392- DOCKER_BUILD_NO_SUMMARY : true
1393-
13941371 summary-not-supported :
13951372 runs-on : ubuntu-latest
13961373 steps :
Original file line number Diff line number Diff line change @@ -265,10 +265,7 @@ function buildChecksAnnotationsEnabled(): boolean {
265265}
266266
267267function buildSummaryEnabled ( ) : boolean {
268- if ( process . env . DOCKER_BUILD_NO_SUMMARY ) {
269- core . warning ( 'DOCKER_BUILD_NO_SUMMARY is deprecated. Set DOCKER_BUILD_SUMMARY to false instead.' ) ;
270- return ! Util . parseBool ( process . env . DOCKER_BUILD_NO_SUMMARY ) ;
271- } else if ( process . env . DOCKER_BUILD_SUMMARY ) {
268+ if ( process . env . DOCKER_BUILD_SUMMARY ) {
272269 return Util . parseBool ( process . env . DOCKER_BUILD_SUMMARY ) ;
273270 }
274271 return true ;
@@ -282,13 +279,7 @@ function buildRecordUploadEnabled(): boolean {
282279}
283280
284281function buildRecordRetentionDays ( ) : number | undefined {
285- let val : string | undefined ;
286- if ( process . env . DOCKER_BUILD_EXPORT_RETENTION_DAYS ) {
287- core . warning ( 'DOCKER_BUILD_EXPORT_RETENTION_DAYS is deprecated. Use DOCKER_BUILD_RECORD_RETENTION_DAYS instead.' ) ;
288- val = process . env . DOCKER_BUILD_EXPORT_RETENTION_DAYS ;
289- } else if ( process . env . DOCKER_BUILD_RECORD_RETENTION_DAYS ) {
290- val = process . env . DOCKER_BUILD_RECORD_RETENTION_DAYS ;
291- }
282+ const val = process . env . DOCKER_BUILD_RECORD_RETENTION_DAYS ;
292283 if ( val ) {
293284 const res = parseInt ( val ) ;
294285 if ( isNaN ( res ) ) {
You can’t perform that action at this time.
0 commit comments