Skip to content

Commit

Permalink
update pypa/gh-action-pypi-publish
Browse files Browse the repository at this point in the history
  • Loading branch information
matthewfeickert committed Jan 5, 2024
1 parent 67caf3c commit 84970e7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/publish-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -132,13 +132,13 @@ jobs:
if: >-
(github.event_name == 'push' && startsWith(github.ref, 'refs/tags/v') && github.repository == 'scikit-hep/pyhf')
|| (github.event_name == 'workflow_dispatch' && github.event.inputs.publish == 'true' && github.repository == 'scikit-hep/pyhf')
uses: pypa/[email protected].10
uses: pypa/[email protected].11
with:
repository-url: https://test.pypi.org/legacy/
print-hash: true

- name: Publish distribution 📦 to PyPI
if: github.event_name == 'release' && github.event.action == 'published' && github.repository == 'scikit-hep/pyhf'
uses: pypa/[email protected].10
uses: pypa/[email protected].11
with:
print-hash: true

0 comments on commit 84970e7

Please sign in to comment.