File tree Expand file tree Collapse file tree 2 files changed +15
-1
lines changed
Expand file tree Collapse file tree 2 files changed +15
-1
lines changed Original file line number Diff line number Diff line change @@ -23,15 +23,26 @@ jobs:
2323 build-docs :
2424 runs-on : ubuntu-latest
2525 steps :
26+ - name : Clean unused tools
27+ run : |
28+ find /opt/hostedtoolcache/* -maxdepth 0 ! -name 'Python' -exec rm -rf {} \;
29+ rm -rf /usr/share/dotnet
30+ rm -rf /usr/local/lib/android
31+ rm -rf /opt/ghc /usr/local/.ghcup
32+ docker system prune -f
33+
2634 - uses : actions/checkout@v5
35+
2736 - name : Set up Python 3.10
2837 uses : actions/setup-python@v6
2938 with :
3039 python-version : ' 3.10'
40+
3141 - name : cache weekly timestamp
3242 id : pip-cache
3343 run : |
3444 echo "datew=$(date '+%Y-%V')" >> $GITHUB_OUTPUT
45+
3546 - name : cache for pip
3647 uses : actions/cache@v4
3748 id : cache
@@ -40,10 +51,12 @@ jobs:
4051 ~/.cache/pip
4152 ~/.cache/torch
4253 key : ${{ runner.os }}-pip-${{ steps.pip-cache.outputs.datew }}
54+
4355 - name : Install dependencies
4456 run : |
4557 python -m pip install --upgrade pip wheel
4658 python -m pip install -r docs/requirements.txt
59+
4760 - name : Make html
4861 run : |
4962 cd docs/
Original file line number Diff line number Diff line change @@ -297,4 +297,5 @@ jobs:
297297 python -m pip install -r requirements-dev.txt
298298 python -m unittest -v
299299 env :
300- PROTOCOL_BUFFERS_PYTHON_IMPLEMENTATION : python # https://github.com/Project-MONAI/MONAI/issues/4354
300+ PROTOCOL_BUFFERS_PYTHON_IMPLEMENTATION : python # https://github.com/Project-MONAI/MONAI/issues/4354
301+
You can’t perform that action at this time.
0 commit comments