Fix publish workflow (#399)

diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml
index 9b69e73..fc787c9 100644
--- a/.github/workflows/publish.yml
+++ b/.github/workflows/publish.yml
@@ -144,6 +144,6 @@
           name: python-package-distributions
           path: dist/
       - name: Ensure exactly one sdist and one wheel have been downloaded
-        run: test $(ls *.tar.gz | wc -l) = 1 && test $(ls *.whl | wc -l) = 1
+        run: test $(ls dist/*.tar.gz | wc -l) = 1 && test $(ls dist/*.whl | wc -l) = 1
       - name: Publish distribution to PyPI
         uses: pypa/gh-action-pypi-publish@release/v1