Skip to content

Commit

Permalink
fixes releasing pipeline (#7103)
Browse files Browse the repository at this point in the history
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 <[email protected]>
  • Loading branch information
wyli authored Oct 8, 2023
1 parent 112e431 commit e8edc2e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ jobs:
python -m pip install --user --upgrade setuptools wheel
- name: Build and test source archive and wheel file
run: |
rm -rf /opt/hostedtoolcache
git fetch --depth=1 origin +refs/tags/*:refs/tags/*
root_dir=$PWD
echo "$root_dir"
Expand Down Expand Up @@ -101,6 +102,7 @@ jobs:
python-version: '3.9'
- shell: bash
run: |
rm -rf /opt/hostedtoolcache
git describe
python -m pip install --user --upgrade setuptools wheel
python setup.py build
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/setupapp.yml
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,7 @@ jobs:
key: ${{ runner.os }}-${{ matrix.python-version }}-pip-${{ steps.pip-cache.outputs.datew }}
- name: Install the dependencies
run: |
rm -rf /opt/hostedtoolcache
python -m pip install --upgrade pip wheel
python -m pip install -r requirements-dev.txt
- name: Run quick tests CPU ubuntu
Expand Down Expand Up @@ -145,6 +146,7 @@ jobs:
- name: Install the default branch with build (dev branch only)
if: github.ref == 'refs/heads/dev'
run: |
rm -rf /opt/hostedtoolcache
BUILD_MONAI=1 pip install git+https://github.com/Project-MONAI/MONAI#egg=MONAI
python -c 'import monai; monai.config.print_config()'
- name: Get the test cases (dev branch only)
Expand Down

0 comments on commit e8edc2e

Please sign in to comment.