Skip to content

Commit 1d6270a

Browse files
authored
Merge pull request #16 from lias-laboratory/fix-artifact-sharing
minor fix in artifact sharing
2 parents f72503e + fbd5778 commit 1d6270a

File tree

1 file changed

+11
-2
lines changed

1 file changed

+11
-2
lines changed

.github/workflows/build_wheels.yml

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -102,13 +102,22 @@ jobs:
102102
pattern: cibw-*
103103
path: dist/
104104
merge-multiple: true
105+
- name: Test presence of artifacts
106+
# This step is not necessary, but it can be useful for debugging
107+
# and to check where the artifacts are downloaded
108+
# and if they are downloaded correctly
109+
# It will list all files in the current directory and its subdirectories
110+
run : |
111+
# Test if the artifacts are downloaded correctly and where they are
112+
ls -R
105113
106114
- name: Generate artifact attestations
107115
uses: actions/attest-build-provenance@v2
108116
with:
109-
subject-path: "dist/*"
117+
subject-path: dist/*
110118

111119
- name: Publish Distribution to PyPI
112120
uses: pypa/gh-action-pypi-publish@release/v1
113-
#with:
121+
with:
122+
package-dir: dist/
114123
# To test: repository-url: https://test.pypi.org/legacy/

0 commit comments

Comments
 (0)