Skip to content

Commit 8569829

Browse files
committed
refine
1 parent 34111c4 commit 8569829

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

.github/workflows/backup-to-acr.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,10 @@ on:
1111
description: ""
1212
default: "alpine-git"
1313
required: false
14+
maximize-disk:
15+
description: ""
16+
default: "1"
17+
required: false
1418
# Environment variables available to all jobs and steps in this workflow.
1519
env:
1620
REGION_ID: cn-beijing
@@ -33,6 +37,7 @@ jobs:
3337
steps:
3438
- name: Maximize build space
3539
uses: easimon/maximize-build-space@master
40+
if: inputs.maximize-disk == '1'
3641
with:
3742
root-reserve-mb: 512
3843
swap-size-mb: 1024

0 commit comments

Comments
 (0)