Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: make maximizing build space optional #18

Merged
merged 4 commits into from
Feb 23, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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