From 5c05e6ea90157576bc3c3b2277d6bc9861ed6e7a Mon Sep 17 00:00:00 2001 From: Matthew Feickert Date: Mon, 8 Feb 2021 15:49:33 -0600 Subject: [PATCH] ci: Update PyPI publish GitHub Action to v1.4.2 (#1299) * 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 --- .github/workflows/publish-package.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/publish-package.yml b/.github/workflows/publish-package.yml index 1d58c35375..f9fdc7efac 100644 --- a/.github/workflows/publish-package.yml +++ b/.github/workflows/publish-package.yml @@ -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 }}