@@ -111,10 +111,9 @@ jobs:
111
111
cd docs
112
112
make html-readthedocs
113
113
114
- build-n-publish-dummy :
114
+ build-dryrun :
115
115
runs-on : ubuntu-latest
116
116
needs : [linting, test, build_doc_dryrun]
117
- if : github.event_name != 'pull_request'
118
117
steps :
119
118
- uses : actions/checkout@master
120
119
- uses : actions/setup-python@v4
@@ -124,19 +123,11 @@ jobs:
124
123
- name : build dummy wheel for test-pypi
125
124
run : |
126
125
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
136
127
137
128
build-n-publish :
138
129
runs-on : ubuntu-latest
139
- needs : [linting, test, build_doc_dryrun, build-n-publish-dummy ]
130
+ needs : [linting, test, build_doc_dryrun, build-dryrun ]
140
131
if : github.event_name == 'create' && startsWith(github.ref, 'refs/tags/v')
141
132
steps :
142
133
- uses : actions/checkout@master
0 commit comments