From 97437523c16a1f9ef628bd72657b0c04f1907b14 Mon Sep 17 00:00:00 2001 From: Aaron Holmes Date: Wed, 7 Feb 2024 14:44:52 -0800 Subject: [PATCH] Fix problem with directory name when building package `all`. Also error when no build files are found. --- .github/workflows/PyPI.yaml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/PyPI.yaml b/.github/workflows/PyPI.yaml index c8cdb9e9..5fe05ca8 100644 --- a/.github/workflows/PyPI.yaml +++ b/.github/workflows/PyPI.yaml @@ -39,7 +39,8 @@ jobs: uses: actions/upload-artifact@v3 with: name: python-package-distributions - path: "${{ steps.package_details.outputs.package_directory }}dist/" + path: "${{ steps.package_details.outputs.package_directory }}/dist/" + if-no-files-found: error publish-to-pypi: name: Publish Python 🐍 distribution 📦 to PyPI