From 2430382824d490a2b7571bebb0fbb2fd729878f6 Mon Sep 17 00:00:00 2001 From: Mike Edmunds Date: Sat, 26 Jul 2025 01:05:07 -0700 Subject: [PATCH] Fix "No space left on device" in build job (#482) --- .github/workflows/build.yml | 14 ++++++++++++++ .github/workflows/release.yml | 7 +++++++ CHANGELOG.md | 1 + 3 files changed, 22 insertions(+) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 9594347..015762e 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -35,6 +35,13 @@ jobs: changelog: ${{ steps.properties.outputs.changelog }} steps: + # Free GitHub Actions Environment Disk Space + - name: Maximize Build Space + uses: jlumbroso/free-disk-space@v1.3.1 + with: + tool-cache: false + large-packages: false + # Check out the current repository - name: Fetch Sources uses: actions/checkout@v4 @@ -93,6 +100,13 @@ jobs: runs-on: ubuntu-latest steps: + # Free GitHub Actions Environment Disk Space + - name: Maximize Build Space + uses: jlumbroso/free-disk-space@v1.3.1 + with: + tool-cache: false + large-packages: false + # Check out the current repository - name: Fetch Sources uses: actions/checkout@v4 diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 923997f..dc6b26a 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -18,6 +18,13 @@ jobs: pull-requests: write steps: + # Free GitHub Actions Environment Disk Space + - name: Maximize Build Space + uses: jlumbroso/free-disk-space@v1.3.1 + with: + tool-cache: false + large-packages: false + # Check out the current repository - name: Fetch Sources uses: actions/checkout@v4 diff --git a/CHANGELOG.md b/CHANGELOG.md index e1b14ac..4233dba 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,7 @@ ### Added - GitHub Actions: set Gradle cache to read-only for non-build jobs +- GitHub Actions: add `jlumbroso/free-disk-space` action to build related steps to maximize build environment storage - Added `.kotlin` directory to `.gitignore` for Kotlin 2.0 ### Removed