From fc5e8e80ddcb3df22f8e52e66c51e26ec9f6ae93 Mon Sep 17 00:00:00 2001 From: hirnidrin Date: Sun, 13 Aug 2023 16:33:04 +0200 Subject: [PATCH 1/3] fix: error on large-packages caused by aspnetcore. --- action.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/action.yml b/action.yml index fd5b249..85867e2 100644 --- a/action.yml +++ b/action.yml @@ -172,6 +172,7 @@ runs: BEFORE=$(getAvailableSpace) sudo apt-get remove -y '^dotnet-.*' + sudo apt-get remove -y '^aspnetcore-.*' sudo apt-get remove -y '^llvm-.*' sudo apt-get remove -y 'php.*' sudo apt-get remove -y '^mongodb-.*' From a1fcc7a9db4e67fb83ad89a4f854ea46b48ffbcf Mon Sep 17 00:00:00 2001 From: hirnidrin Date: Sun, 13 Aug 2023 16:43:58 +0200 Subject: [PATCH 2/3] chore: update the test to use my fixed action. --- .github/workflows/test.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 4be928d..8ec6cb9 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -7,7 +7,7 @@ jobs: steps: # If there is a problem with this GitHub Actions, this step will fail - name: Free Disk Space - uses: jlumbroso/free-disk-space@main + uses: hirnidrin/free-disk-space@main with: tool-cache: true From 4bacba7c412c8ace26b87b5b79977da05137e69d Mon Sep 17 00:00:00 2001 From: hirnidrin Date: Sun, 13 Aug 2023 18:52:21 +0200 Subject: [PATCH 3/3] fix: in large-packes, remove aspnetcore-* right at the beginning. --- .github/workflows/test.yml | 2 +- action.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 8ec6cb9..4be928d 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -7,7 +7,7 @@ jobs: steps: # If there is a problem with this GitHub Actions, this step will fail - name: Free Disk Space - uses: hirnidrin/free-disk-space@main + uses: jlumbroso/free-disk-space@main with: tool-cache: true diff --git a/action.yml b/action.yml index 85867e2..f1626a4 100644 --- a/action.yml +++ b/action.yml @@ -171,8 +171,8 @@ runs: if [[ ${{ inputs.large-packages }} == 'true' ]]; then BEFORE=$(getAvailableSpace) - sudo apt-get remove -y '^dotnet-.*' sudo apt-get remove -y '^aspnetcore-.*' + sudo apt-get remove -y '^dotnet-.*' sudo apt-get remove -y '^llvm-.*' sudo apt-get remove -y 'php.*' sudo apt-get remove -y '^mongodb-.*'