Skip to content

Commit 3052739

Browse files
authored
feat: make maximizing build space optional (#18)
* feat: make maximizing build space optional Reasoning: many users don't need this, but it takes kind of a long time. #16 * fix: use singlequotes for strings * docs: use singlequotes in description
1 parent 5d69b36 commit 3052739

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

action.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,13 @@ inputs:
2424
2525
Example: `${{ github.event.number }}`
2626
required: true
27+
maximize_build_space:
28+
description: |
29+
Whether to run the unwanted software remover to maximize build space in the GitHub builder.
30+
Use this if your builds are taking too much space.
31+
Input must match the string 'true' for the step to be enabled.
32+
required: false
33+
default: 'false'
2734
registry:
2835
description: |
2936
The container registry to push the built image to.
@@ -43,6 +50,7 @@ runs:
4350
# so it's best to remove unneeded softawre
4451
- name: Maximize build space
4552
uses: ublue-os/remove-unwanted-software@v6
53+
if: ${{ inputs.maximize_build_space == 'true' }}
4654

4755
# clones user's repo
4856
- uses: actions/checkout@v4

0 commit comments

Comments
 (0)