mirror of
https://github.com/daylinmorgan/oizys.git
synced 2024-11-05 01:53:15 -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
|
||||
fi
|
||||
|
||||
sudo rm -rf /opt &
|
||||
sudo rm -rf "$AGENT_TOOLSDIRECTORY" &
|
||||
GLOBIGNORE="/usr/share/git-core/**/*"
|
||||
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 rm -f /mnt/swapfile
|
||||
|
|
Loading…
Reference in a new issue