From a1f6fb53b10eea469862b62dc7d9237e42cf9a27 Mon Sep 17 00:00:00 2001 From: Elliott Sales de Andrade Date: Fri, 8 Jul 2022 00:00:46 -0400 Subject: [PATCH] Upload wheel artifacts from the correct directory The cibuildwheel Action is not passed an argument specifying an output directory (as was done when installing manually), so it defaults to `wheelhouse`, not `dist`. Also, error instead of warn if no artifacts were found. --- .github/workflows/cibuildwheel.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/cibuildwheel.yml b/.github/workflows/cibuildwheel.yml index 74fa4feecb39..4322b3fa4a76 100644 --- a/.github/workflows/cibuildwheel.yml +++ b/.github/workflows/cibuildwheel.yml @@ -110,4 +110,5 @@ jobs: - uses: actions/upload-artifact@v3 with: name: wheels - path: ./dist/*.whl + path: ./wheelhouse/*.whl + if-no-files-found: error