File tree Expand file tree Collapse file tree 1 file changed +16
-0
lines changed
Expand file tree Collapse file tree 1 file changed +16
-0
lines changed Original file line number Diff line number Diff line change 2828 matrix :
2929 opt : ["codeformat", "pytype", "mypy"]
3030 steps :
31+ - name : Clean unused tools
32+ run : |
33+ find /opt/hostedtoolcache/* -maxdepth 0 ! -name 'Python' -exec rm -rf {} \;
34+ sudo rm -rf /usr/share/dotnet
35+ sudo rm -rf /usr/local/lib/android
36+ sudo rm -rf /opt/ghc /usr/local/.ghcup
37+ sudo docker system prune -f
38+
3139 - uses : actions/checkout@v6
3240 - name : Set up Python 3.9
3341 uses : actions/setup-python@v6
@@ -213,6 +221,14 @@ jobs:
213221 build-docs :
214222 runs-on : ubuntu-latest
215223 steps :
224+ - name : Clean unused tools
225+ run : |
226+ find /opt/hostedtoolcache/* -maxdepth 0 ! -name 'Python' -exec rm -rf {} \;
227+ sudo rm -rf /usr/share/dotnet
228+ sudo rm -rf /usr/local/lib/android
229+ sudo rm -rf /opt/ghc /usr/local/.ghcup
230+ sudo docker system prune -f
231+
216232 - uses : actions/checkout@v6
217233 - name : Set up Python 3.9
218234 uses : actions/setup-python@v6
You can’t perform that action at this time.
0 commit comments