Skip to content

Commit

Permalink
don't publish wheel to test pypi in CI (#93)
Browse files Browse the repository at this point in the history
  • Loading branch information
arvidn authored Oct 20, 2022
1 parent 1abe881 commit f49007d
Showing 1 changed file with 2 additions and 8 deletions.
10 changes: 2 additions & 8 deletions .github/workflows/publish-to-test-pypi.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# adapted from https://packaging.python.org/guides/publishing-package-distribution-releases-using-github-actions-ci-cd-workflows/

name: Publish Python distributions to PyPI and TestPyPI
name: Publish Python distributions to PyPI

on:
push:
Expand All @@ -16,7 +16,7 @@ on:

jobs:
build-n-publish:
name: Build and publish Python distributions to PyPI and TestPyPI
name: Build and publish Python distributions to PyPI
runs-on: ubuntu-18.04

steps:
Expand All @@ -42,12 +42,6 @@ jobs:
--binary
--out-dir dist/
.
- name: Publish distribution to Test PyPI
uses: pypa/gh-action-pypi-publish@master
with:
skip_existing: true
password: ${{ secrets.test_pypi_password }}
repository_url: https://test.pypi.org/legacy/
- name: Publish distribution to PyPI
if: startsWith(github.event.ref, 'refs/tags')
uses: pypa/gh-action-pypi-publish@master
Expand Down

0 comments on commit f49007d

Please sign in to comment.