only run the cleaning on linux builds

This commit is contained in:
conneroisu 2025-05-02 10:50:41 +00:00
parent 927b650581
commit a659e85ba2

View file

@ -125,12 +125,15 @@ jobs:
steps:
- run: df -h
if: runner.os == 'Linux'
- name: "node-cleanup"
run: |
sudo rm -rf /usr/share/dotnet /usr/local/lib/android /opt/ghc /opt/hostedtoolcache/CodeQL
sudo docker image prune --all --force
sudo docker builder prune -a
if: runner.os == 'Linux'
- run: df -h
if: runner.os == 'Linux'
- uses: actions/checkout@v4
- uses: DeterminateSystems/nix-installer-action@main
with: