mirror of
https://github.com/daylinmorgan/oizys.git
synced 2024-12-22 10:10:45 -06:00
start with apt-purge
This commit is contained in:
parent
5156e5a61f
commit
cfa3b363a0
1 changed files with 3 additions and 5 deletions
8
.github/actions/clean-disk/action.yml
vendored
8
.github/actions/clean-disk/action.yml
vendored
|
@ -34,17 +34,15 @@ runs:
|
|||
|
||||
echo "Removing unwanted software... "
|
||||
|
||||
sudo rm -rf /opt &
|
||||
sudo rm -rf "$AGENT_TOOLSDIRECTORY" &
|
||||
|
||||
if [[ "${{ inputs.purge-packages }}" == 'true' ]]; then
|
||||
sudo apt-get purge \
|
||||
--allow-remove-essential \
|
||||
-qq \
|
||||
$(non_manifest_packages) > /dev/null &
|
||||
wait
|
||||
$(non_manifest_packages) # > /dev/null
|
||||
fi
|
||||
|
||||
sudo rm -rf /opt &
|
||||
sudo rm -rf "$AGENT_TOOLSDIRECTORY" &
|
||||
|
||||
sudo rm -rf /var/lib/docker &
|
||||
sudo rm -rf /usr/{local,share} &
|
||||
|
|
Loading…
Reference in a new issue