mirror of
https://github.com/daylinmorgan/oizys.git
synced 2024-12-22 18:30:43 -06:00
don't remove git-templates
also don't remove anthing in /usr/share for now
This commit is contained in:
parent
739321c1b2
commit
1f02f54ad1
1 changed files with 13 additions and 12 deletions
25
.github/actions/clean-disk/action.yml
vendored
25
.github/actions/clean-disk/action.yml
vendored
|
@ -41,18 +41,19 @@ runs:
|
||||||
$(non_manifest_packages) # > /dev/null
|
$(non_manifest_packages) # > /dev/null
|
||||||
fi
|
fi
|
||||||
|
|
||||||
(
|
sudo rm -rf \
|
||||||
GLOBIGNORE="/usr/share/git-core/**/*";
|
/var/lib/docker/ \
|
||||||
sudo rm -rf \
|
"$AGENT_TOOLSDIRECTORY" \
|
||||||
/var/lib/docker/ \
|
/opt \
|
||||||
"$AGENT_TOOLSDIRECTORY" \
|
/usr/local/** &
|
||||||
/opt \
|
|
||||||
/usr/{local,share}/**
|
# nix flake update wants to find git-core templates
|
||||||
) &
|
# /usr/share/git-core/templates
|
||||||
# {
|
# /usr/share/**
|
||||||
# sudo swapoff -a
|
{
|
||||||
# sudo rm -f /mnt/swapfile
|
sudo swapoff -a
|
||||||
# } &
|
sudo rm -f /mnt/swapfile
|
||||||
|
} &
|
||||||
wait
|
wait
|
||||||
echo "... done"
|
echo "... done"
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue