File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 99 pull_request :
1010 branches :
1111 - dev
12- workflow_dispatch :
1312
1413env :
1514 PYTHON_VER : ' 3.10'
@@ -95,15 +94,15 @@ jobs:
9594 (cd "$(mktemp -d)" && python -c 'import monai; print(monai.__version__)')
9695 # TODO: re-enable once the test token works, currently this is getting 403 Forbidden
9796 # - name: Publish to Test PyPI
98- # if: github.event_name == 'pull_request' # only test publish on PR
97+ # if: github.event_name == 'pull_request' && github.repository == 'Project-MONAI/MONAI' # only test publish on PR
9998 # run: |
10099 # twine upload -r testpypi dist/*
101100 # env:
102101 # TWINE_USERNAME: __token__
103102 # TWINE_PASSWORD: ${{ secrets.TEST_PYPI_TOKEN }}
104103 # TWINE_NON_INTERACTIVE: true
105104 - name : Publish to PyPI
106- if : github.event_name == 'schedule' || github.event_name == 'workflow_dispatch' # only publish on cron or manual run
105+ if : github.event_name == 'schedule' # only publish on cron run
107106 uses : pypa/gh-action-pypi-publish@release/v1
108107 with :
109108 user : __token__
You can’t perform that action at this time.
0 commit comments