Skip to content

Commit e97118e

Browse files
committed
Add free-space step
1 parent 9b4fd62 commit e97118e

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

.github/workflows/build.yaml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,11 @@ on:
4949
required: false
5050
type: number
5151
default: 1
52+
free-space:
53+
description: "Free space on GitHub runner."
54+
required: false
55+
type: boolean
56+
default: false
5257
outputs:
5358
tag:
5459
description: "The tag that was used for the built image"
@@ -80,6 +85,15 @@ jobs:
8085
outputs:
8186
tag: ${{ steps.tag.outputs.tag }}
8287
steps:
88+
- name: Free space
89+
if: ${{ inputs.free-space }}
90+
uses: easimon/maximize-build-space@v10
91+
with:
92+
remove-dotnet: 'true'
93+
remove-android: 'true'
94+
remove-haskell: 'true'
95+
remove-codeql: 'true'
96+
8397
- name: Checkout source
8498
uses: actions/checkout@v5
8599
with:

0 commit comments

Comments
 (0)