From 7b4c9dc4a2b8f8dbb9eca13ae29178d12adbfed0 Mon Sep 17 00:00:00 2001 From: illuminatus Date: Sun, 22 Oct 2023 10:36:24 -0700 Subject: [PATCH] Update premerge.yml The provide additional free space step fails. Subset of packages no longer installed with ubuntu-latest. Combining the apt-get remove into a single line to reduce the investigations required. --- .github/workflows/premerge.yml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/.github/workflows/premerge.yml b/.github/workflows/premerge.yml index 06328eee86..f4f494b08f 100644 --- a/.github/workflows/premerge.yml +++ b/.github/workflows/premerge.yml @@ -28,9 +28,7 @@ jobs: # Workaround to provide additional free space for builds. # https://github.com/actions/virtual-environments/issues/2840 sudo apt-get update -y - sudo apt-get remove -y '^dotnet-.*' - sudo apt-get remove -y 'php.*' - sudo apt-get remove -y azure-cli google-cloud-sdk google-chrome-stable firefox powershell mono-devel + sudo apt-get remove -y '^dotnet-.*' 'php.*' azure-cli google-cloud-sdk google-chrome-stable firefox powershell mono-devel sudo apt-get autoremove -y sudo apt-get clean sudo rm -rf "/usr/share/dotnet"