Skip to content

Commit 2430382

Browse files
medmundshsz
authored andcommitted
Fix "No space left on device" in build job (#482)
1 parent a1b47a3 commit 2430382

File tree

3 files changed

+22
-0
lines changed

3 files changed

+22
-0
lines changed

.github/workflows/build.yml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,13 @@ jobs:
3535
changelog: ${{ steps.properties.outputs.changelog }}
3636
steps:
3737

38+
# Free GitHub Actions Environment Disk Space
39+
- name: Maximize Build Space
40+
uses: jlumbroso/free-disk-space@v1.3.1
41+
with:
42+
tool-cache: false
43+
large-packages: false
44+
3845
# Check out the current repository
3946
- name: Fetch Sources
4047
uses: actions/checkout@v4
@@ -93,6 +100,13 @@ jobs:
93100
runs-on: ubuntu-latest
94101
steps:
95102

103+
# Free GitHub Actions Environment Disk Space
104+
- name: Maximize Build Space
105+
uses: jlumbroso/free-disk-space@v1.3.1
106+
with:
107+
tool-cache: false
108+
large-packages: false
109+
96110
# Check out the current repository
97111
- name: Fetch Sources
98112
uses: actions/checkout@v4

.github/workflows/release.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,13 @@ jobs:
1818
pull-requests: write
1919
steps:
2020

21+
# Free GitHub Actions Environment Disk Space
22+
- name: Maximize Build Space
23+
uses: jlumbroso/free-disk-space@v1.3.1
24+
with:
25+
tool-cache: false
26+
large-packages: false
27+
2128
# Check out the current repository
2229
- name: Fetch Sources
2330
uses: actions/checkout@v4

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
### Added
88

99
- GitHub Actions: set Gradle cache to read-only for non-build jobs
10+
- GitHub Actions: add `jlumbroso/free-disk-space` action to build related steps to maximize build environment storage
1011
- Added `.kotlin` directory to `.gitignore` for Kotlin 2.0
1112

1213
### Removed

0 commit comments

Comments
 (0)