diff --git a/.github/workflows/build_wheels.yml b/.github/workflows/build_wheels.yml index b571e59..e2d3b55 100644 --- a/.github/workflows/build_wheels.yml +++ b/.github/workflows/build_wheels.yml @@ -102,13 +102,22 @@ jobs: pattern: cibw-* path: dist/ merge-multiple: true + - name: Test presence of artifacts + # This step is not necessary, but it can be useful for debugging + # and to check where the artifacts are downloaded + # and if they are downloaded correctly + # It will list all files in the current directory and its subdirectories + run : | + # Test if the artifacts are downloaded correctly and where they are + ls -R - name: Generate artifact attestations uses: actions/attest-build-provenance@v2 with: - subject-path: "dist/*" + subject-path: dist/* - name: Publish Distribution to PyPI uses: pypa/gh-action-pypi-publish@release/v1 - #with: + with: + package-dir: dist/ # To test: repository-url: https://test.pypi.org/legacy/