Skip to content

Commit

Permalink
Continue to upload to PyPI even if test PyPI fails
Browse files Browse the repository at this point in the history
  • Loading branch information
allejok96 committed May 15, 2023
1 parent ca6b1ca commit 8ab9584
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/publish-to-pypi.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
name: Publish Python packages to PyPI
name: Publish to PyPI

on: push

jobs:
build-n-publish:
name: Build and publish Python distributions to PyPI
name: Build and publish Python distributions
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
Expand Down Expand Up @@ -32,6 +32,7 @@ jobs:
- name: Publish distribution to Test PyPI
uses: pypa/gh-action-pypi-publish@release/v1
continue-on-error: yes
with:
password: ${{ secrets.TEST_PYPI_API_TOKEN }}
repository-url: https://test.pypi.org/legacy/
Expand Down

0 comments on commit 8ab9584

Please sign in to comment.