From d463230192d4b6ccf145e790b15209bc156d9fac Mon Sep 17 00:00:00 2001 From: mauwii Date: Sun, 8 Oct 2023 05:25:34 +0200 Subject: [PATCH] fix free-space action conditions --- .github/actions/free-space/action.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/actions/free-space/action.yml b/.github/actions/free-space/action.yml index aef0a06..11035ad 100644 --- a/.github/actions/free-space/action.yml +++ b/.github/actions/free-space/action.yml @@ -23,7 +23,7 @@ runs: # will release about 2GB if you don't need .NET - name: Remove .NET id: dotnet - if: inputs.deleteDotnet && runner.os == 'linux' + if: inputs.deleteDotnet == 'true' && runner.os == 'linux' shell: bash run: | for dir in /usr/share/dotnet /opt/hostedtoolcache/dotnet; do @@ -40,7 +40,7 @@ runs: # will release about 13GB if you don't need Android - name: Remove android sdk id: android - if: inputs.deleteAndroid && runner.os == 'linux' + if: inputs.deleteAndroid == 'true' && runner.os == 'linux' shell: bash run: | if [ -d /usr/local/lib/android ]; then