From 52559de8c0b7be6cde19ddb7dfea567a72346d45 Mon Sep 17 00:00:00 2001 From: Michael Fellinger Date: Wed, 11 Oct 2023 10:29:15 +0200 Subject: [PATCH] reduce sudo invocations --- .github/workflows/update.yml | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/.github/workflows/update.yml b/.github/workflows/update.yml index b60f759..f60c8d2 100644 --- a/.github/workflows/update.yml +++ b/.github/workflows/update.yml @@ -22,12 +22,13 @@ jobs: run: | pwd df -h - sudo rm -rf /usr/share/dotnet - sudo rm -rf /usr/share/swift - sudo rm -rf /usr/local/lib/android - sudo rm -rf /opt/hostedtoolcache - sudo rm -rf /opt/ghc - sudo rm -rf /opt/az + sudo rm -rf \ + /usr/share/dotnet \ + /usr/share/swift \ + /usr/local/lib/android \ + /opt/hostedtoolcache \ + /opt/ghc \ + /opt/az sudo docker image prune --all --force df -h - name: Checkout