Skip to content

Commit 59eff6d

Browse files
committed
maybe don't need to free up space anymore
1 parent 20beca5 commit 59eff6d

File tree

1 file changed

+0
-31
lines changed

1 file changed

+0
-31
lines changed

.github/workflows/build-notebooks-TEMPLATE.yaml

-31
Original file line numberDiff line numberDiff line change
@@ -22,37 +22,6 @@ jobs:
2222
username: ${{ github.actor }}
2323
password: ${{ secrets.GITHUB_TOKEN }}
2424

25-
- name: Free up additional disk space
26-
# https://docs.github.com/en/actions/learn-github-actions/expressions
27-
if: "${{ contains(inputs.target, 'cuda') || contains(inputs.target, 'pytorch') || contains(inputs.target, 'tensorflow') }}"
28-
run: |
29-
df -h
30-
31-
sudo rm -rf /usr/include &
32-
sudo rm -rf /usr/local/lib/android &
33-
sudo rm -rf /usr/local/share/boost &
34-
sudo rm -rf /usr/local/lib/node_modules &
35-
sudo rm -rf /usr/share/dotnet &
36-
sudo rm -rf /opt/ghc &
37-
sudo rm -rf /opt/hostedtoolcache/CodeQL &
38-
sudo rm -rf "$AGENT_TOOLSDIRECTORY"
39-
40-
sudo docker image prune --all --force &
41-
42-
wait
43-
44-
df -h
45-
46-
- name: Mount lvm overlay for podman builds
47-
run: |
48-
df -h
49-
free -h
50-
51-
bash gha_lvm_overlay.bash
52-
53-
df -h
54-
free -h
55-
5625
# https://github.com/containers/buildah/issues/2521#issuecomment-884779112
5726
- name: Workaround https://github.com/containers/podman/issues/22152#issuecomment-2027705598
5827
run: sudo apt-get -qq remove podman crun

0 commit comments

Comments
 (0)