Skip to content

Commit 8cf4dbb

Browse files
authored
Add disk space cleanup step in build workflow
Added a step to free disk space on Ubuntu before fetching sources.
1 parent 9498a06 commit 8cf4dbb

1 file changed

Lines changed: 12 additions & 2 deletions

File tree

.github/workflows/build.yml

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,17 @@ jobs:
3535
changelog: ${{ steps.properties.outputs.changelog }}
3636
pluginVerifierHomeDir: ${{ steps.properties.outputs.pluginVerifierHomeDir }}
3737
steps:
38-
38+
- name: Free Disk Space (Ubuntu)
39+
uses: jlumbroso/free-disk-space-action@v1.3.1
40+
with:
41+
# On supprime les gros outils inutiles pour la plupart des projets
42+
tool-cache: false
43+
android: true
44+
dotnet: false # ATTENTION : Si vous faites du C#/.NET, mettez 'false' ici pour garder .NET !
45+
haskell: true
46+
large-packages: true
47+
docker-images: true
48+
swap-storage: true
3949
# Check out the current repository
4050
- name: Fetch Sources
4151
uses: actions/checkout@v6
@@ -250,4 +260,4 @@ jobs:
250260
--notes "$(cat << 'EOM'
251261
${{ needs.build.outputs.changelog }}
252262
EOM
253-
)"
263+
)"

0 commit comments

Comments
 (0)