Skip to content

Commit

Permalink
Only do cleanup on Ubuntu, debug output
Browse files Browse the repository at this point in the history
  • Loading branch information
tautschnig committed Aug 23, 2023
1 parent 6b09455 commit 2b6d558
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/actions/setup/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,14 @@ runs:
using: composite
steps:
- name: Remove unnecessary software to free up disk space
if: contains(fromJSON('["ubuntu-18.04","ubuntu-20.04","ubuntu-22.04"]'), inputs.os)
shell: bash
run: |
# inspired by https://github.com/easimon/maximize-build-space/blob/master/action.yml
df -h
echo $PATH
ls /
ls /opt
sudo rm -r /usr/share/dotnet /usr/local/lib/android /opt/ghc
df -h
Expand Down

0 comments on commit 2b6d558

Please sign in to comment.