mirror of
https://github.com/daylinmorgan/oizys.git
synced 2024-12-22 18:30:43 -06:00
try not to delete git-core data
This commit is contained in:
parent
ef83435bed
commit
a8ad42cb21
1 changed files with 6 additions and 4 deletions
10
.github/actions/clean-disk/action.yml
vendored
10
.github/actions/clean-disk/action.yml
vendored
|
@ -41,11 +41,13 @@ runs:
|
||||||
$(non_manifest_packages) # > /dev/null
|
$(non_manifest_packages) # > /dev/null
|
||||||
fi
|
fi
|
||||||
|
|
||||||
sudo rm -rf /opt &
|
GLOBIGNORE="/usr/share/git-core/**/*"
|
||||||
sudo rm -rf "$AGENT_TOOLSDIRECTORY" &
|
sudo rm -rf \
|
||||||
|
/var/lib/docker/ \
|
||||||
|
"$AGENT_TOOLSDIRECTORY" \
|
||||||
|
/opt \
|
||||||
|
/usr/{local,share} &
|
||||||
|
|
||||||
sudo rm -rf /var/lib/docker &
|
|
||||||
sudo rm -rf /usr/{local,share} &
|
|
||||||
{
|
{
|
||||||
sudo swapoff -a
|
sudo swapoff -a
|
||||||
sudo rm -f /mnt/swapfile
|
sudo rm -f /mnt/swapfile
|
||||||
|
|
Loading…
Reference in a new issue