Skip to content

PostgreSQL backup tool with Point-In-Time-Recovery and restore verification

FIX (ci \ cd): Add cleaning up CI space

Rostislav Duginff94e06306ca
diff --git a/.github/workflows/ci-release.yml b/.github/workflows/ci-release.yml
index f5d47ddc..cd08bfa3 100644
--- a/.github/workflows/ci-release.yml
+++ b/.github/workflows/ci-release.yml
@@ -110,6 +110,24 @@ jobs:
runs-on: ubuntu-latest
needs: [lint-backend]
steps:
+ - name: Free up disk space
+ run: |
+ echo "Disk space before cleanup:"
+ df -h
+ # Remove unnecessary pre-installed software
+ sudo rm -rf /usr/share/dotnet
+ sudo rm -rf /usr/local/lib/android
+ sudo rm -rf /opt/ghc
+ sudo rm -rf /opt/hostedtoolcache/CodeQL
+ sudo rm -rf /usr/local/share/boost
+ sudo rm -rf /usr/share/swift
+ # Clean apt cache
+ sudo apt-get clean
+ # Clean docker images (if any pre-installed)
+ docker system prune -af --volumes || true
+ echo "Disk space after cleanup:"
+ df -h
+
- name: Check out code
uses: actions/checkout@v4