Skip to content

Commit

Permalink
BUG: Try to publish to test pypi only if not on a repository fork
Browse files Browse the repository at this point in the history
  • Loading branch information
Leengit committed Sep 18, 2024
1 parent 3567c12 commit 8f06c27
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/build-test-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,7 @@ jobs:
run: >-
python -m build --sdist --wheel --outdir dist/ .
- name: Publish to Test PyPI
if: github.event.repository.fork == false
uses: pypa/gh-action-pypi-publish@release/v1
with:
password: ${{ secrets.TEST_PYPI_API_TOKEN }}
Expand Down

0 comments on commit 8f06c27

Please sign in to comment.