mirror of
https://github.com/daylinmorgan/oizys.git
synced 2024-12-22 14:20:44 -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... "
|
echo "Removing unwanted software... "
|
||||||
|
|
||||||
sudo rm -rf /opt &
|
|
||||||
sudo rm -rf "$AGENT_TOOLSDIRECTORY" &
|
|
||||||
|
|
||||||
if [[ "${{ inputs.purge-packages }}" == 'true' ]]; then
|
if [[ "${{ inputs.purge-packages }}" == 'true' ]]; then
|
||||||
sudo apt-get purge \
|
sudo apt-get purge \
|
||||||
--allow-remove-essential \
|
--allow-remove-essential \
|
||||||
-qq \
|
-qq \
|
||||||
$(non_manifest_packages) > /dev/null &
|
$(non_manifest_packages) # > /dev/null
|
||||||
wait
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
sudo rm -rf /opt &
|
||||||
|
sudo rm -rf "$AGENT_TOOLSDIRECTORY" &
|
||||||
|
|
||||||
sudo rm -rf /var/lib/docker &
|
sudo rm -rf /var/lib/docker &
|
||||||
sudo rm -rf /usr/{local,share} &
|
sudo rm -rf /usr/{local,share} &
|
||||||
|
|
Loading…
Reference in a new issue