Skip to content

Commit

Permalink
ci: Update PyPI publish GitHub Action to v1.4.2 (#1299)
Browse files Browse the repository at this point in the history
* Update pypa/gh-action-pypi-publish to v1.4.2 for newer pip and stability
   - c.f. https://github.com/pypa/gh-action-pypi-publish/releases/tag/v1.4.2
  • Loading branch information
matthewfeickert committed Feb 8, 2021
1 parent 123f801 commit 5c05e6e
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 @@ -66,12 +66,12 @@ jobs:
- name: Publish distribution 📦 to Test PyPI
# every PR will trigger a push event on master, so check the push event is actually coming from master
if: github.event_name == 'push' && github.ref == 'refs/heads/master' && github.repository == 'scikit-hep/pyhf'
uses: pypa/gh-action-pypi-publish@v1.3.1
uses: pypa/gh-action-pypi-publish@v1.4.2
with:
password: ${{ secrets.test_pypi_password }}
repository_url: https://test.pypi.org/legacy/
- name: Publish distribution 📦 to PyPI
if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags') && github.repository == 'scikit-hep/pyhf'
uses: pypa/gh-action-pypi-publish@v1.3.1
uses: pypa/gh-action-pypi-publish@v1.4.2
with:
password: ${{ secrets.pypi_password }}

0 comments on commit 5c05e6e

Please sign in to comment.