Skip to content
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 19 additions & 0 deletions .github/workflows/api_refs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Loading