diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index ff414f151..8aa430252 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -73,12 +73,7 @@ jobs: - run: df -h - name: remove packages run: | - cd .github - ls - echo "Standard bash" - bash cli-space-cleanup.sh - echo "nsenter bash" - nsenter -t 1 -m -u -n -i /bin/bash cli-space-cleanup.sh #-c "sudo apt-get purge -y google-cloud-cli || true; sudo apt-get autoremove -y; sudo apt-get clean" + nsenter -t 1 -m -u -n -i bash -c "$(cat .github/cli-space-cleanup.sh)" #-c "sudo apt-get purge -y google-cloud-cli || true; sudo apt-get autoremove -y; sudo apt-get clean" - run: df -h - name: check packages run: dpkg-query -Wf '${Installed-Size}\t${Package}\n' | sort -nr