Skip to content

Commit e8edc2e

Browse files
authored
fixes releasing pipeline (#7103)
Fixes https://github.com/Project-MONAI/MONAI/actions/runs/6443867275/job/17496241665 ### Types of changes <!--- Put an `x` in all the boxes that apply, and remove the not applicable items --> - [x] Non-breaking change (fix or new feature that would not break existing functionality). - [ ] Breaking change (fix or new feature that would cause existing functionality to change). - [ ] New tests added to cover the changes. - [ ] Integration tests passed locally by running `./runtests.sh -f -u --net --coverage`. - [ ] Quick tests passed locally by running `./runtests.sh --quick --unittests --disttests`. - [ ] In-line docstrings updated. - [ ] Documentation updated, tested `make html` command in the `docs/` folder. Signed-off-by: Wenqi Li <wenqil@nvidia.com>
1 parent 112e431 commit e8edc2e

2 files changed

Lines changed: 4 additions & 0 deletions

File tree

.github/workflows/release.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ jobs:
2727
python -m pip install --user --upgrade setuptools wheel
2828
- name: Build and test source archive and wheel file
2929
run: |
30+
rm -rf /opt/hostedtoolcache
3031
git fetch --depth=1 origin +refs/tags/*:refs/tags/*
3132
root_dir=$PWD
3233
echo "$root_dir"
@@ -101,6 +102,7 @@ jobs:
101102
python-version: '3.9'
102103
- shell: bash
103104
run: |
105+
rm -rf /opt/hostedtoolcache
104106
git describe
105107
python -m pip install --user --upgrade setuptools wheel
106108
python setup.py build

.github/workflows/setupapp.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -100,6 +100,7 @@ jobs:
100100
key: ${{ runner.os }}-${{ matrix.python-version }}-pip-${{ steps.pip-cache.outputs.datew }}
101101
- name: Install the dependencies
102102
run: |
103+
rm -rf /opt/hostedtoolcache
103104
python -m pip install --upgrade pip wheel
104105
python -m pip install -r requirements-dev.txt
105106
- name: Run quick tests CPU ubuntu
@@ -145,6 +146,7 @@ jobs:
145146
- name: Install the default branch with build (dev branch only)
146147
if: github.ref == 'refs/heads/dev'
147148
run: |
149+
rm -rf /opt/hostedtoolcache
148150
BUILD_MONAI=1 pip install git+https://github.com/Project-MONAI/MONAI#egg=MONAI
149151
python -c 'import monai; monai.config.print_config()'
150152
- name: Get the test cases (dev branch only)

0 commit comments

Comments
 (0)