File tree Expand file tree Collapse file tree 1 file changed +9
-4
lines changed Expand file tree Collapse file tree 1 file changed +9
-4
lines changed Original file line number Diff line number Diff line change @@ -52,10 +52,12 @@ jobs:
52
52
- name : Set the expected dist artifact names
53
53
id : artifact-name
54
54
run : |
55
- echo 'sdist=${{ env.dist-name }}-* .tar.gz' >> "${GITHUB_OUTPUT}"
55
+ echo 'sdist=${{ env.dist-name }}-${VERSION} .tar.gz' >> "${GITHUB_OUTPUT}"
56
56
echo 'wheel=${{
57
57
env.dist-name
58
- }}-*-py3-none-any.whl' >> "${GITHUB_OUTPUT}"
58
+ }}-${VERSION}-py3-none-any.whl' >> "${GITHUB_OUTPUT}"
59
+ env :
60
+ VERSION : ${{ steps.dist-version.outputs.version }}
59
61
60
62
- name : Install build
61
63
run : python -Im pip install build
65
67
- name : Verify that the artifacts with expected names got created
66
68
run : >-
67
69
ls -1
68
- dist/${{ steps.artifact-name.outputs.sdist }}
69
- dist/${{ steps.artifact-name.outputs.wheel }}
70
+ dist/${SDIST}
71
+ dist/${WHEEL}
72
+ env :
73
+ SDIST : ${{ steps.artifact-name.outputs.sdist }}
74
+ WHEEL : ${{ steps.artifact-name.outputs.wheel }}
70
75
- name : Store the distribution packages
71
76
uses : actions/upload-artifact@v4
72
77
with :
You can’t perform that action at this time.
0 commit comments