Skip to content

Commit

Permalink
feat: make maximizing build space optional (#18)
Browse files Browse the repository at this point in the history
* 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
  • Loading branch information
xynydev authored Feb 23, 2024
1 parent 5d69b36 commit 3052739
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,13 @@ inputs:
Example: `${{ github.event.number }}`
required: true
maximize_build_space:
description: |
Whether to run the unwanted software remover to maximize build space in the GitHub builder.
Use this if your builds are taking too much space.
Input must match the string 'true' for the step to be enabled.
required: false
default: 'false'
registry:
description: |
The container registry to push the built image to.
Expand All @@ -43,6 +50,7 @@ runs:
# so it's best to remove unneeded softawre
- name: Maximize build space
uses: ublue-os/remove-unwanted-software@v6
if: ${{ inputs.maximize_build_space == 'true' }}

# clones user's repo
- uses: actions/checkout@v4
Expand Down

0 comments on commit 3052739

Please sign in to comment.