We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8114b9d commit 09122e7Copy full SHA for 09122e7
.github/workflows/packing.yml
@@ -172,7 +172,10 @@ jobs:
172
kill $(cat tarantool.pid) || true
173
174
publish_pip:
175
- if: startsWith(github.ref, 'refs/tags')
+ # if: startsWith(github.ref, 'refs/tags')
176
+ if: (github.event_name == 'push') ||
177
+ (github.event_name == 'pull_request' &&
178
+ github.event.pull_request.head.repo.full_name != github.repository)
179
180
needs:
181
- run_tests_pip_package_linux
@@ -204,8 +207,8 @@ jobs:
204
207
- name: Publish artifacts
205
208
run: twine upload -r $PYPI_REPO -u __token__ -p $PYPI_TOKEN pip_dist/*
206
209
env:
- PYPI_REPO: pypi
- PYPI_TOKEN: ${{ secrets.PYPI_TOKEN }}
210
+ PYPI_REPO: testpypi
211
+ PYPI_TOKEN: ${{ secrets.TEST_PYPI_TOKEN }}
212
213
pack_rpm:
214
# We want to run on external PRs, but not on our own internal
0 commit comments