From a4a403e6a12eeae04746d3dfd9874b62412bb654 Mon Sep 17 00:00:00 2001 From: Michele Bortolomeazzi <38500587+MicheleBortol@users.noreply.github.com> Date: Thu, 25 Jul 2024 11:03:33 +0200 Subject: [PATCH] Add pipy publishing workflow. --- .github/workflows/publish_pipy.yml | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/.github/workflows/publish_pipy.yml b/.github/workflows/publish_pipy.yml index 370e5a0..bea6622 100644 --- a/.github/workflows/publish_pipy.yml +++ b/.github/workflows/publish_pipy.yml @@ -15,10 +15,9 @@ jobs: python-version: '3.9' - name: Build a binary wheel and a source tarball run: | - python -mpip install build + python -m pip install build python -m build - - name: Publish distribution to PyPI - if: startsWith(github.ref, 'refs/tags') - uses: pypa/gh-action-pypi-publish@v1.8.14 + - uses: pypa/gh-action-pypi-publish@v1.8.14 with: password: {{ '${{ secrets.PYPI_PASSWORD }}' }} +