@@ -111,10 +111,9 @@ jobs:
111111 cd docs
112112 make html-readthedocs
113113
114- build-n-publish-dummy :
114+ build-dryrun :
115115 runs-on : ubuntu-latest
116116 needs : [linting, test, build_doc_dryrun]
117- if : github.event_name != 'pull_request'
118117 steps :
119118 - uses : actions/checkout@master
120119 - uses : actions/setup-python@v4
@@ -124,19 +123,11 @@ jobs:
124123 - name : build dummy wheel for test-pypi
125124 run : |
126125 pip install wheel
127- python setup.py egg_info -b ".dev`date '+%Y%m%d%H%M%S'`" build sdist bdist_wheel
128- # - name: publish test-pypi
129- # # Although working and recommended, test-pypi has a limit
130- # # in the size of projects so it's better to avoid publishing
131- # # until there is a way to garbage collect these dummy releases
132- # uses: pypa/gh-action-pypi-publish@master
133- # with:
134- # password: ${{ secrets.test_pypi_token }}
135- # repository_url: https://test.pypi.org/legacy/
126+ python setup.py sdist bdist_wheel
136127
137128 build-n-publish :
138129 runs-on : ubuntu-latest
139- needs : [linting, test, build_doc_dryrun, build-n-publish-dummy ]
130+ needs : [linting, test, build_doc_dryrun, build-dryrun ]
140131 if : github.event_name == 'create' && startsWith(github.ref, 'refs/tags/v')
141132 steps :
142133 - uses : actions/checkout@master
0 commit comments