Skip to content

Commit

Permalink
Sudo
Browse files Browse the repository at this point in the history
Signed-off-by: Tom Wieczorek <[email protected]>
  • Loading branch information
twz123 committed Oct 11, 2023
1 parent ce5868d commit 7e8be0e
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/cleaner.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,28 +45,28 @@ jobs:
df -h
for pkg in $APT_PACKAGES_TO_REMOVE; do
apt-get purge -y -- "$pkg"
sudo -E apt-get purge -y -- "$pkg"
done
df -h
apt-get autoremove -y
apt-get autoclean -y
sudo -E apt-get autoremove -y
sudo -E apt-get autoclean -y
df -h
for path in ENV_PATHS_TO_RM; do
path="${!path}" || continue
[ -z "$path" ] || rm -rf -- "$path"
[ -z "$path" ] || sudo rm -rf -- "$path"
done
df -h
rm -rf /home/linuxbrew
sudo rm -rf /home/linuxbrew
df -h
find / -type f -mount > files
find / -type f -mount | tee files
- uses: actions/upload-artifact@v3
with:
Expand Down

0 comments on commit 7e8be0e

Please sign in to comment.