From a4abb26cc03142f2cdce1be8aa2f33ab9ef0ab87 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jiri=20Dan=C4=9Bk?= Date: Thu, 23 May 2024 11:55:52 +0200 Subject: [PATCH] maybe don't need to free up space anymore --- .../workflows/build-notebooks-TEMPLATE.yaml | 31 ------------------- 1 file changed, 31 deletions(-) diff --git a/.github/workflows/build-notebooks-TEMPLATE.yaml b/.github/workflows/build-notebooks-TEMPLATE.yaml index 866716647..4d77de067 100644 --- a/.github/workflows/build-notebooks-TEMPLATE.yaml +++ b/.github/workflows/build-notebooks-TEMPLATE.yaml @@ -22,37 +22,6 @@ jobs: username: ${{ github.actor }} password: ${{ secrets.GITHUB_TOKEN }} - - name: Free up additional disk space - # https://docs.github.com/en/actions/learn-github-actions/expressions - if: "${{ contains(inputs.target, 'cuda') || contains(inputs.target, 'pytorch') || contains(inputs.target, 'tensorflow') }}" - run: | - df -h - - sudo rm -rf /usr/include & - sudo rm -rf /usr/local/lib/android & - sudo rm -rf /usr/local/share/boost & - sudo rm -rf /usr/local/lib/node_modules & - sudo rm -rf /usr/share/dotnet & - sudo rm -rf /opt/ghc & - sudo rm -rf /opt/hostedtoolcache/CodeQL & - sudo rm -rf "$AGENT_TOOLSDIRECTORY" - - sudo docker image prune --all --force & - - wait - - df -h - - - name: Mount lvm overlay for podman builds - run: | - df -h - free -h - - bash gha_lvm_overlay.bash - - df -h - free -h - # https://github.com/containers/buildah/issues/2521#issuecomment-884779112 - name: Workaround https://github.com/containers/podman/issues/22152#issuecomment-2027705598 run: sudo apt-get -qq remove podman crun