From fbd577803ea8a63eca84a68ec3f5040cc463f36a Mon Sep 17 00:00:00 2001 From: Quentin Date: Tue, 11 Mar 2025 16:28:51 +0100 Subject: [PATCH] minor fix in artifact sharing --- .github/workflows/build_wheels.yml | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) 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/