diff --git a/.github/workflows/api_refs.yaml b/.github/workflows/api_refs.yaml index e97d9bb67a..7b8348778e 100644 --- a/.github/workflows/api_refs.yaml +++ b/.github/workflows/api_refs.yaml @@ -45,6 +45,25 @@ jobs: SATIS_NETWORK_TOKEN: ${{ secrets.SATIS_NETWORK_TOKEN }} BASE_BRANCH: ${{ steps.version_and_branches.outputs.base_branch }} run: | + echo "Space usage before installing dependencies:" + df -h + echo "Home realpath: $(realpath ~)" + echo "Listing space usage of home directory:" + time du -h -d1 ~ + time du -h -d1 ~/actions-runner + time du -h -d1 ~/actions-runner/cached + + echo "Removing large packages" + sudo apt-get remove -y azure-cli microsoft-edge-stable google-chrome-stable firefox powershell mono-devel + sudo apt-get autoremove -y + sudo apt-get clean + + echo "Removing large directories" + rm -rf /opt/hostedtoolcache + + echo "Space usage after cleanup:" + df -h + composer config --global http-basic.updates.ibexa.co $SATIS_NETWORK_KEY $SATIS_NETWORK_TOKEN if [[ '4.6' != $BASE_BRANCH ]]; then tools/api_refs/api_refs.sh