mirror of
https://github.com/DeterminateSystems/ci.git
synced 2025-05-21 01:59:00 +02:00
only run the cleaning on linux builds
This commit is contained in:
parent
927b650581
commit
a659e85ba2
1 changed files with 3 additions and 0 deletions
3
.github/workflows/workflow.yml
vendored
3
.github/workflows/workflow.yml
vendored
|
@ -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:
|
||||
|
|
Loading…
Add table
Reference in a new issue