Skip to content

Commit

Permalink
Do not run test PyPI build on forks
Browse files Browse the repository at this point in the history
  • Loading branch information
ml-evs committed Apr 9, 2024
1 parent 5fd5cbc commit cd3c728
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ jobs:
python${{ matrix.python-version }} -m build
- name: Publish distribution 📦s to Test PyPI
if: matrix.python-version == 3.9
if: matrix.python-version == 3.9 && github.repository == 'hackingmaterials/matminer'
uses: pypa/gh-action-pypi-publish@release/v1.5
with:
skip_existing: true
Expand Down

0 comments on commit cd3c728

Please sign in to comment.