Skip to content

Commit

Permalink
fix free-space action conditions
Browse files Browse the repository at this point in the history
  • Loading branch information
mauwii committed Oct 8, 2023
1 parent 9df34de commit d463230
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/actions/free-space/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down

0 comments on commit d463230

Please sign in to comment.